[pulseaudio-discuss] [RFC v0 5/5] bluetooth: Merge all ports into "bluetooth-input" and "bluetooth-output"
Tanu Kaskinen
tanuk at iki.fi
Sat Feb 16 09:01:40 PST 2013
On Wed, 2013-02-13 at 14:48 +0100, Mikel Astiz wrote:
> From: Mikel Astiz <mikel.astiz at bmw-carit.de>
>
> The card profile availability flag already provides all the necessary
> information and therefore all Bluetooth ports can be merged. The
> availability of this port now represents whether the device is
> streaming audio, with the following mapping:
> - PA_PORT_AVAILABLE_UNKNOWN: some profile connected but not streaming
> - PA_PORT_AVAILABLE_NO: no profiles connected (module will unload soon)
> - PA_PORT_AVAILABILE_YES: some profile streaming (regardless of which)
>
> This information will generally be of little use, since the card profile
> availability flag provides more accurate information.
I think input and output should be handled separately.
Also, you changed things so that now both the input and the output port
are always created. I don't think we should create both, if the device
doesn't support both input and output.
--
Tanu
More information about the pulseaudio-discuss
mailing list