Re: [alsa-devel] [Fwd: Re: Fwd: audio ovolume problem on powerbook G3 Lombard (PPC740)]
2009/1/8 Takashi Iwai tiwai@suse.de:
At Thu, 8 Jan 2009 14:06:05 +0200, Risto Suominen wrote:
2009/1/8, Takashi Iwai tiwai@suse.de:
We may use a virtual master control when all slave controls have the identical volume resolution.
Sounds good. Is it something configurable, so there is no need to change the code?
Look at sound/core/vmaster.c.
Takashi
Ok, I've tried to implement this on snd-powermac.
Takashi, looks like there is a side effect: plugging in headphone doesn't show on alsamixer, even though it works, i.e. the speaker is silenced. Or have I forgotten something in my implementation?
http://ristosu.wippiespace.com/pub/alsa-awacs-1.0.18a-p13.diff
Richard, maybe you can try this? You should adjust Speaker and Line out to 100% in order to have full scale in Master.
Risto
At Tue, 13 Jan 2009 20:37:21 +0200, Risto Suominen wrote:
2009/1/8 Takashi Iwai tiwai@suse.de:
At Thu, 8 Jan 2009 14:06:05 +0200, Risto Suominen wrote:
2009/1/8, Takashi Iwai tiwai@suse.de:
We may use a virtual master control when all slave controls have the identical volume resolution.
Sounds good. Is it something configurable, so there is no need to change the code?
Look at sound/core/vmaster.c.
Takashi
Ok, I've tried to implement this on snd-powermac.
Takashi, looks like there is a side effect: plugging in headphone doesn't show on alsamixer, even though it works, i.e. the speaker is silenced.
Well, what do you mean exactly "doesn't show on alsamixer"? Which behavior is expected?
Or have I forgotten something in my implementation?
http://ristosu.wippiespace.com/pub/alsa-awacs-1.0.18a-p13.diff
At the next time, please post (or attach at least) the patch. It makes more easier review.
thanks,
Takashi
2009/1/14 Takashi Iwai tiwai@suse.de:
At Tue, 13 Jan 2009 20:37:21 +0200, Risto Suominen wrote:
Takashi, looks like there is a side effect: plugging in headphone doesn't show on alsamixer, even though it works, i.e. the speaker is silenced.
Well, what do you mean exactly "doesn't show on alsamixer"? Which behavior is expected?
MM instead of OO below speaker slider and the opposite for headphone. Only the sound moved.
Risto
At Thu, 15 Jan 2009 08:58:49 +0200, Risto Suominen wrote:
2009/1/14 Takashi Iwai tiwai@suse.de:
At Tue, 13 Jan 2009 20:37:21 +0200, Risto Suominen wrote:
Takashi, looks like there is a side effect: plugging in headphone doesn't show on alsamixer, even though it works, i.e. the speaker is silenced.
Well, what do you mean exactly "doesn't show on alsamixer"? Which behavior is expected?
MM instead of OO below speaker slider and the opposite for headphone. Only the sound moved.
Ah, snd-powermac changes the mixer value explicitly. This isn't common in other drivers.
The problem is likely the change of control element pointers. vmaster creates fake entries, and this may confuse if you access the old entries.
Takashi
participants (2)
-
Risto Suominen
-
Takashi Iwai