idea for emu10k1 master volume
While hacking the emu10k1 driver I think I found a good way to implement a master volume control. There is a master attenuation control for each voice. This is pretty much unused - currently you would have to start a PCM stream then use alsamixer to attenuate it, effectively no attenuation is ever used.
To implement master volume we just make one control that attenuates all PCM streams.
Signature · 9 lines
Lee Revell <[email protected]> ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
Quoted 8 lines · Lee Revell
While hacking the emu10k1 driver I think I found a good way to implement a master volume control. There is a master attenuation control for each voice. This is pretty much unused - currently you would have to start a PCM stream then use alsamixer to attenuate it, effectively no attenuation is ever used.
To implement master volume we just make one control that attenuates all PCM streams.
Bad idea. The abstract layer should be in alsa-lib.
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8