Skip to contentSkip to conversation

idea for emu10k1 master volume

DISCUSSION Lee Revell 2 participants 2 messages Nov 17, 2004 – Nov 18, 2004

lore
Share & tools
lore

Lee Revell

author
#0 lore raw

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
#1 lore raw
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