Question

I wanted to adjust volume of a particular application(Not the entire system volume) in Linux using my c code.

Please suggest how can we do this in Linux.

Était-ce utile?

La solution

First, you need to know what audio system your desktop is using.

If it's PulseAudio (a popular choice, these days), then some API documentation can be found here:

http://freedesktop.org/software/pulseaudio/doxygen/

I'm not totally sure if that's the right API for your needs (controlling other applications) but it's a starting point, and I'm sure further surfing/googling will get you there.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top