[RFC v0 5/5] bluetooth: Merge all ports into "bluetooth-input" and "bluetooth-output"

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

 



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



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

  Powered by Linux