سؤال

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.

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top