Volume control for media players playing simultaneously

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

 



On Fri, 2013-10-25 at 03:57 +0000, Sathishkumar Sivagurunathan wrote:
> Hi,
> 
>  
> 
>      I am a newcomer to the pulse audio. I would like to know whether
> I can do the following procedure using pulse audio.
> 
>  
> 
> 1)     Let us assume we have two media players.
> 
> 2)     Player 1 is running.
> 
> 3)     Now I start the Player 2.
> 
> 4)     Player 1 should be reduced or muted in volume while Player 2
> should now run.
> 
> 5)     Once Player 2 is finished, Player 1 should return to the
> previous volume setting.
> 
>  
> 
>    My questions/doubts are
> 
>  
> 
> a)     Is the above mentioned procedure implemented using Pulse audio.

Yes, it can be.

> b)     Is there any example for the above mentioned.

See src/modules/module-role-ducking.c and src/modules/module-role-cork.c

-- Arun




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux