Skip to contentSkip to conversation

Shared volume control again

DISCUSSION Takashi Iwai 4 participants 8 messages Oct 29, 2014 – Oct 30, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

thinking of the problem about shared volume controls again, I stumbled on a case where your suggested solution doesn't work well. Namely, when a headphone volume is shared for two headphones (one on the laptop and one on the dock), how should it be named? One is "Headphone" and another is "Dock Headphone". That's a bit tricky.

So, in the end, we need the mapping representation somehow more explicitly than the control name.

Thoughts?

Takashi

#1 lore raw
Quoted 8 lines · Takashi Iwai

Hi,

thinking of the problem about shared volume controls again, I stumbled on a case where your suggested solution doesn't work well. Namely, when a headphone volume is shared for two headphones (one on the laptop and one on the dock), how should it be named? One is "Headphone" and another is "Dock Headphone". That's a bit tricky.

Quoted 4 lines

So, in the end, we need the mapping representation somehow more explicitly than the control name.

Thoughts?

In practice, it seems like we more often than not share DAC for all headphones. Also it is very common today that a jack called "Front Headphone" has a volume control called only "Headphone".

That's the status quo. As a result we have only one headphone path in PulseAudio for all types of headphones.
And it kind of works as long as we *always* share DAC between the different headphones. And when we don't, they're usually both controlled by a vmaster anyway. I haven't seen anything else recently, are you planning to make "headphone" and "dock headphone" have separate volume controls?

Signature · 2 lines
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
#2 lore raw

At Wed, 29 Oct 2014 18:12:14 +0100,

Quoted 15 lines · David Henningsson
Quoted 11 lines · Takashi Iwai

Hi,

thinking of the problem about shared volume controls again, I stumbled on a case where your suggested solution doesn't work well. Namely, when a headphone volume is shared for two headphones (one on the laptop and one on the dock), how should it be named? One is "Headphone" and another is "Dock Headphone". That's a bit tricky.

So, in the end, we need the mapping representation somehow more explicitly than the control name.

Quoted 8 lines
Quoted 1 line

Thoughts?

In practice, it seems like we more often than not share DAC for all headphones. Also it is very common today that a jack called "Front Headphone" has a volume control called only "Headphone".

That's the status quo. As a result we have only one headphone path in PulseAudio for all types of headphones.

OK, so "Headphone" volume should be handled by both "Headphone Jack" and "Dock Headphone Jack" detections? Then it's fine. I thought this wasn't the case (from my memory dealing with an old bug report).

Quoted 5 lines

And it kind of works as long as we *always* share DAC between the different headphones. And when we don't, they're usually both controlled by a vmaster anyway. I haven't seen anything else recently, are you planning to make "headphone" and "dock headphone" have separate volume controls?

No, splitting is impossible with vmaster.

thanks,

Takashi

#3 lore raw
Quoted 23 lines · Takashi Iwai

At Wed, 29 Oct 2014 18:12:14 +0100,

Quoted 21 lines · David Henningsson
Quoted 8 lines · Takashi Iwai

Hi,

thinking of the problem about shared volume controls again, I stumbled on a case where your suggested solution doesn't work well. Namely, when a headphone volume is shared for two headphones (one on the laptop and one on the dock), how should it be named? One is "Headphone" and another is "Dock Headphone". That's a bit tricky.

Quoted 4 lines

So, in the end, we need the mapping representation somehow more explicitly than the control name.

Thoughts?

In practice, it seems like we more often than not share DAC for all headphones. Also it is very common today that a jack called "Front Headphone" has a volume control called only "Headphone".

Quoted 6 lines
Quoted 2 lines

That's the status quo. As a result we have only one headphone path in PulseAudio for all types of headphones.

OK, so "Headphone" volume should be handled by both "Headphone Jack" and "Dock Headphone Jack" detections? Then it's fine. I thought this wasn't the case (from my memory dealing with an old bug report).

Yes. The "Dock Headphone Jack" name was added quite recently though, so it's only in git master right now.

Signature · 2 lines
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
#4 lore raw
In reply to David Henningsson
Quoted 7 lines
Quoted 7 lines

thinking of the problem about shared volume controls again, I stumbled on a case where your suggested solution doesn't work well. Namely, when a headphone volume is shared for two headphones (one on the laptop and one on the dock), how should it be named? One is "Headphone" and another is "Dock Headphone". That's a bit tricky.

Quoted 7 lines
Quoted 4 lines

So, in the end, we need the mapping representation somehow more explicitly than the control name.

Thoughts?

In practice, it seems like we more often than not share DAC for all

headphones. Also it is very common today that a jack called "Front Headphone" has a volume control called only "Headphone".

Quoted 2 lines

That's the status quo. As a result we have only one headphone path in

PulseAudio for all types of headphones.

Quoted 1 line

And it kind of works as long as we *always* share DAC between the

different headphones.

it is unlikely that dual headphone jacks share DAC on those Dell XPS notebook with 8 channels hda codec

Surround 40 should not be supported when headphone and dock headphone always share DAC

Are there any difference when dock station has dock line out instead of dock headphone?

Another ad hoc case is asus g75 with vt1802 which have speaker and subwoober, headohone and speaker share DAC so that the subwoofer can have volume control

For Dell alienware notebook with alc668, headset and headphone jack, mic jack internal 2.1 speaker

User expect the headset jack default to be used as headset since the notebook has another headphone jack

#5 lore raw
Quoted 25 lines · Raymond Yau
Quoted 6 lines
Quoted 6 lines

thinking of the problem about shared volume controls again, I stumbled on a case where your suggested solution doesn't work well. Namely, when a headphone volume is shared for two headphones (one on the laptop and one on the dock), how should it be named? One is "Headphone" and another is "Dock Headphone". That's a bit tricky.

Quoted 6 lines
Quoted 4 lines

So, in the end, we need the mapping representation somehow more explicitly than the control name.

Thoughts?

In practice, it seems like we more often than not share DAC for all

headphones. Also it is very common today that a jack called "Front Headphone" has a volume control called only "Headphone".

Quoted 1 line

That's the status quo. As a result we have only one headphone path in

PulseAudio for all types of headphones.

Quoted 1 line

And it kind of works as long as we *always* share DAC between the

different headphones.

it is unlikely that dual headphone jacks share DAC on those Dell XPS notebook with 8 channels hda codec

Surround 40 should not be supported when headphone and dock headphone always share DAC

Quoted 6 lines

Are there any difference when dock station has dock line out instead of dock headphone?

Another ad hoc case is asus g75 with vt1802 which have speaker and subwoober, headohone and speaker share DAC so that the subwoofer can have volume control

Hi Raymond,

It seems like you are familiar with hardware configuration for different machines, BTW do you know any Lenovo/Dell/HP laptops which have subwoofer on them?

Thanks,
Hui.

Quoted 10 lines

For Dell alienware notebook with alc668, headset and headphone jack, mic jack internal 2.1 speaker

User expect the headset jack default to be used as headset since the notebook has another headphone jack
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel