Pulse Audio plugins - Dynamic Output control

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

 



On Fri, 27 May 2016, at 12:40 PM, Samiran Sarkar wrote:
> HI ,
> 
> Can we set Audio output port dynamically by controlling some pulseAudio
> plugin  in between BT A2DP & HFP ?   ( because I want to use 2 output
> device for different purpose)
> Since pulseAudio is a dbus Message communication is there any way  by
> posting some dbus message or calling some method we can achieve that ?
> It can be kind of plugin ( c/c++ method call) which may allow to control
> Audio output.
> 
> I know the scrip where to change for audio output -just  want to avoid
> hardcoding .

You can do this externally using the PA API (libpulse) or D-Bus API. 

I'd written some code to do this in a module:

  https://cgit.freedesktop.org/~arun/pulseaudio/log/?h=bluetooth

This should just be merged with module-blueooth-policy now.

-- Arun


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

  Powered by Linux