Re: snd_mixer_selem_get_playback_volume return value outside allowed range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



'Twas brillig, and Raymond Yau at 19/06/10 03:39 did gyre and gimble:
> 2010/6/17 Clemens Ladisch <clemens@xxxxxxxxxx>
> 
>> Raymond Yau wrote:
>>> Should snd_mixer_selem_get_playback_volume() perform range check ?
>>
>> No, it's the responsibility of the control implementation to return
>> valid values (and to check that values that are being set are valid).
>>
>>
>> Regards,
>> Clemens
>> _
>>
> 
> The root cause of the bug is gnome-volume-control allow user to set
> PA_VOLUME to 150% and PA return the value outside the allowed range of the
> "master" volume control of the pulse device
> 
> http://git.gnome.org/browse/gnome-media/commit/?id=cfe5cf8d6826f2eacf0d2b109381ec61dda50185

This is not the root cause of the bug Raymond. I have explained this
several times now.

This is perfectly acceptable behaviour in PA.

I have stated the two possible solutions quite clearly (twice!) in one
of the three threads you've managed to create on this topic.

Please stop going on about the issue and please reply just once to each
email, it's incredibly annoying trying to follow any discussion you
comment on due to this deluge of responses.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux