Does pulseaudo provide API to set the active port of a sink/source?

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

 



I want to switch to the loud speaker/mike (hand-free) during a phone call without unplugging my wired headset. And the wired-headset and speaker/mike are two ports of the ALSA sink/source on my platform.

Does PA provide an API that can to set the active port on a sink/source?
I only found the API to set sink/source "pa_context_set_default_sink" but no API to set the port.

Many thanks
Mengdong

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110920/27fdf057/attachment.htm>


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

  Powered by Linux