[RFC next v4 12/16] bluetooth: Register HSP/HFP endpoints in BlueZ 5 Media API

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

 



On Mon, 2013-04-29 at 18:28 +0200, Mikel Astiz wrote:
> From: Mikel Astiz <mikel.astiz at bmw-carit.de>
> 
> Register the HSP/HFP endpoints in BlueZ 5 Media API for the sake of
> completeness, despite the fact that there's currently no known user of
> such an endpoint.
> ---
>  src/modules/bluetooth/bluetooth-util.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
> index e3de01e..e46cbda 100644
> --- a/src/modules/bluetooth/bluetooth-util.c
> +++ b/src/modules/bluetooth/bluetooth-util.c
> @@ -911,11 +911,6 @@ static void register_endpoint(pa_bluetooth_discovery *y, const char *path, const
>  static void register_adapter_endpoints(pa_bluetooth_discovery *y, const char *path) {
>      register_endpoint(y, path, A2DP_SOURCE_ENDPOINT, A2DP_SOURCE_UUID);
>      register_endpoint(y, path, A2DP_SINK_ENDPOINT, A2DP_SINK_UUID);
> -
> -    /* For BlueZ 5, only A2DP is registered in the Media API */
> -    if (y->version >= BLUEZ_VERSION_5)
> -        return;
> -
>      register_endpoint(y, path, HFP_AG_ENDPOINT, HFP_AG_UUID);
>      register_endpoint(y, path, HFP_HS_ENDPOINT, HFP_HS_UUID);
>  }

So there was some discussion about whether to do this or not? Could
someone reiterate the arguments for and against, or point to a relevant
thread in the mail archive?

To me the important question is: if there was a user for these
endpoints, would the current code in PulseAudio work?

-- 
Tanu

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


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

  Powered by Linux