LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   ALSA API :: Volume Balance needed (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/alsa-api-volume-balance-needed-633822/)

varun12598 04-08-2008 12:29 AM

ALSA API :: Volume Balance needed
 
Hi All,

I am new to ALSA and have started with configuring the ALSA config file .asoundrc . I am able to control percentage amount of output to different channels, be it 2 or 4. Let me explain how I do it : I create the configuration nodes in the .asoundrc . Then in the ttable I specify the %age amount for each channel. This way my different applications can use different nodes(currently am using mplayer) and accordingly control the %age amount of output to different channels. The problem I am facing is to have this configured on the fly i.e. during playback I actually want to vary the sound output, like we have in most of the players. Something like the Volume Balancer. How can this be done. Should we write into the .asoundrc and then restart the player or should one make use of the ALSA APIs to re-configure it. Please advise as I couldnt really find any API which could perform the same task on the run.

Thanks in Advance
Varun
varun12598@gmail.com

Tinkster 04-08-2008 04:13 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

jtshaw 04-08-2008 06:28 AM

Continue this post here.


All times are GMT -5. The time now is 01:39 AM.