[PATCH v5] bluetooth: Add support for automatic switch between hsp and a2dp profiles

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

 



On Fri, 2016-07-22 at 16:20 +0530, Arun Raghavan wrote:
> > From: Pali Rohár <pali.rohar at gmail.com>

> +    if (revert_to_a2dp) {
> +        from_profile = "hsp";
> +        to_profile = "a2dp";
> +    } else {
> +        from_profile = "a2dp";
> +        to_profile = "hsp";
> +    }

These profile names work only with BlueZ 4. With BlueZ 5 the profile
names are "headset_head_unit" and "a2dp_sink". Pali, would you be
willing to write a patch makes the code handle both BlueZ versions?

-- 
Tanu


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

  Powered by Linux