Changing volume of a single PCM channel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

how do I change the volume of single PCM channel with ALSA? I'm playing
multiple sounds at the same time by opening a new channel for every sound
using snd_pcm_open() and let PulseAudio do the mixing. Now assuming that I
have allocated four channels using snd_pcm_open()... now I'd like to
change the volume of the second channel, the other three channels' volume
should not be affected. How can I do this?

AFAICS, volume control is provided by the ALSA mixer interface but I don't
seem to figure out how to connect the mixer with my PCM channels opened
using snd_pcm_open().

Thanks for any help,

Andreas
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux