[alsa-devel] How to change the sound volume?
Hi,
How would a simple alsa-based sound player change the playback volume? I've been looking into the mixer interface, but there's no connection to snd_pcm_t*, so I'm not sure this is what I need to use. I only want to change the sound volume of my player, without altering the sound streams of the other applications.
Thanks,
Cosmin
At Tue, 5 Feb 2008 09:21:34 +0200, Cosmin Humeniuc wrote:
Hi,
How would a simple alsa-based sound player change the playback volume? I've been looking into the mixer interface, but there's no connection to snd_pcm_t*, so I'm not sure this is what I need to use. I only want to change the sound volume of my player, without altering the sound streams of the other applications.
It's not implemented in the ALSA. Some sound systems like pulseaudio have such features. Give it a try.
Takashi
participants (2)
-
Cosmin Humeniuc
-
Takashi Iwai