[pulseaudio-discuss] [PATCH] bluetooth: bluez4: Add profile name to sinks and sources

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Sun Sep 28 03:37:33 PDT 2014


On Thu, 2014-09-25 at 15:27 +0200, Pali Rohár wrote:
> Now a2dp and hsp sinks and sources will have different names which means that
> applications and other modules can use sink/source to distinguish selected
> profile.
> 
> Module module-device-restore uses sink/source name and port name as identifier,
> so if different profiles have different names module-device-restore can store
> volume settings for each profile.
> 
> So with this patch it is possible to configure different volume settings for
> a2dp and hsp profiles.
> 
> This patch does not change port names so gnome applications will be happy.
> 
> Note that similar patch is needed also for bluez5, but I'm not using bluez5
> so I cannot write or test it.
> 
> Signed-off-by: Pali Rohár <pali.rohar at gmail.com>
> ---
>  src/modules/bluetooth/module-bluez4-device.c |   13 ++++++++-----
>  1 file changed, 8 insertions(+), 5 deletions(-)

Thanks, looks good! Applied.

-- 
Tanu



More information about the pulseaudio-discuss mailing list