[PATCH] fix the assumption that volume is always positive

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

 



On Thu, 2011-05-26 at 09:50 +0100, Colin Guthrie wrote:
> 'Twas brillig, and Lu Guanqun at 26/05/11 09:49 did gyre and gimble:
> > Add a variable to track whether the actual volume is set or not.
> > Suppose this:
> > 	min volume: -126	max volume: 0
> > then when user wants to set some constant volume to -10, it would fail.
> 
> Tanu, are you OK with this patch?

Maybe, maybe not. I posted a question to alsa-devel:
http://mailman.alsa-project.org/pipermail/alsa-devel/2011-May/040213.html

If negative steps are allowed, I expect there to be more bugs.

-- 
Tanu




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux