[alsa-devel] How to change the sound volume?

Takashi Iwai tiwai at suse.de
Wed Feb 6 08:26:39 CET 2008


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


More information about the Alsa-devel mailing list