[pulseaudio-discuss] [PATCH] bluetooth: Add support for automatic switch between hsp and a2dp profiles

Pali Rohár pali.rohar at gmail.com
Thu Sep 25 14:36:57 PDT 2014


On Wednesday 24 September 2014 19:08:55 Pali Rohár wrote:
> With this patch module-bluetooth-policy automatically switch
> from a2dp profile to hsp profile if some application want to
> start recording.
> 
> By default a2dp profile is used for listening music, but for
> VOIP calls is needed profile with microphone support (hsp).
> So this patch will switch to hsp profile if some application
> want to use microphone and after it release it profile is
> switched back to a2dp. So this patch allows to use bluetooth
> microphone automatically without need of user interaction.
> 
> Signed-off-by: Pali Rohár <pali.rohar at gmail.com>
> ---

And with this patch a2dp profile could be preferred and has 
higher priority then hsp. Because a2dp has better audio quality 
and when recording is needed my patch for module-bluetooth-policy 
will switch to hsp. What do you think about it?

-- 
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140925/340dc5a8/attachment.sig>


More information about the pulseaudio-discuss mailing list