How to do Alsa configuration (asoundrc) on-the-run while an application is
I am new to alsa and need to know if i can contorl the volume on different
channels dynamically or on-the-fly by modifying file asoundrc.
We have written the following lines of code-
This does the volume control statically (one time) the application
(mplayer) starts using this device mentioned as 'conf1'. Now, i make
following changes to the asoundrc file to change the volume level on the
channels while the application is running.
But the changes do not reflect. I need to restart the application for the
changes to take effect.
Is there any way i can achieve this without having to restart the
Pls let know if there’s any way to have such a volume using the ALSA APIs from the application.