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

Pali Rohár pali.rohar at gmail.com
Wed Jul 20 16:36:43 UTC 2016


On Thursday 14 July 2016 14:26:39 Tanu Kaskinen wrote:
> On Wed, 2016-07-13 at 12:44 +0200, Pali Rohár wrote:
> > On Saturday 02 July 2016 22:26:17 Pali Rohár wrote:
> > > With this patch module-bluetooth-policy automatically switch from
> > > a2dp profile to hsp profile if some VOIP application with
> > > media.role=phone wants to start recording audio.
> > > 
> > > 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 specify it in media.role as "phone). After
> > > recording is stopped profile is switched back to a2dp. So this
> > > patch allows to use bluetooth microphone for VOIP applications
> > > with media.role=phone automatically without need of user
> > > interaction.
> > > 
> > > Signed-off-by: Pali Rohár <pali.rohar at gmail.com>
> > > ---
> > >  src/modules/bluetooth/module-bluetooth-policy.c |  203
> > > ++++++++++++++++++++++- 1 file changed, 201 insertions(+), 2
> > > deletions(-)
> > 
> > PING, can somebody review this V4 version?
> 
> Arun reviewed the previous version, I don't know about his plans. If
> he doesn't review it, I will review it eventually.

Week later and still no response...

Anyway, I believe I fixed all problems addresses in discussion under V3 
of this patch. If there is still something wrong, I can rework my patch.

-- 
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: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20160720/e6362cf4/attachment.sig>


More information about the pulseaudio-discuss mailing list