Skip to contentSkip to conversation

How does one alter the main mixer volume (or any other mixer level) in ALSA from a command line (via a simple system call)?

DISCUSSION Ivica Bukvic 2 participants 2 messages Mar 6, 2003

lore
Share & tools
lore
#0 lore raw

Hi all,

I have this small question:

Is it possible (I presume it is) to alter mixer settings in Alsa by invoking some kind of a system call using shell (i.e. how the RME hdsp can have its stuff altered)?

If so, what is the range of values that describe the loudest and softest levels?

Finally, are these levels standardized?

Any help on this matter is greatly appreciated! Thank you! Sincerely,

Ico

P.S. Apologies for cross-posting.

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com

#1 lore raw
Quoted 7 lines · Ivica Bukvic

Hi all,

I have this small question:

Is it possible (I presume it is) to alter mixer settings in Alsa by invoking some kind of a system call using shell (i.e. how the RME hdsp can have its stuff altered)?

Use amixer.

Quoted 2 lines

If so, what is the range of values that describe the loudest and softest levels?

You may specify levels in percent (0%-100%). If you are asking, how the levels are related to dB, then we don't offer this information.

Our idea is to describe the hardware over alsa-lib (via some configuration files which will describe accurately the hardware). But it's not a goal for the near future.

Quoted 1 line

Finally, are these levels standardized?

Nope.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com