[PATCH 0/5] Add simple HSP support in new native backend

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

 



>
> This set of patches adds a simple handler for the HSP profile to bluez
>> and makes a new card for each connected device. This makes it possible to
>> send audio to a Headset. The profile is implemented in a new native
>> headset backend.
>>
>> The first 4 patches are mostly some very small cleanups and little bits to
>> implement the last patch.
>>
>> The patch also switches the default backend from ofono to native.
>>
>
> Thanks for this patch set!
>
> Could you give a little explanation how this patch set relates to other
> patch sets (like the currently pending ofono patch set and your previous
> "null backend" patch set)?
>

These patches replace any of my previous patches, we now leave the null
backend as it is and add a new -native backend.

The idea for the native HSP backend is to have a simple implementation
without any extra dependencies. It's hard to make ofono work on desktop
machines and you don't need a full-blown phone stack to play sound through
the headset in many cases.



>
> I e, to test this, I obviously need bluez 5, but does it also require any
> pending patch set that it builds upon? And what can be expected,


It does not need anything else than bluez5. It basically restores the
functionality that got removed from bluez5 regarding the HSP profile.


> working HSP playback but not recording? Any other missing functionality
> and that you plan to add in later patches?


You can expect a new device to show up when you pair you headset. You can
then select the Headset Head Unit profile to make it connect using the HSP
Profile. Both Playback and recording work.

There is the future possibility to handle a button press and volume/gain of
the device. I'm not sure we want to handle any of them. You could map the
button press to cork/uncork the stream. You could possibly use the volume
controls in addition to the software volume but there are only 15 volume
levels. HSP only operates on 8Khz mono 16bits samples so  perhaps it is not
worth it.

Wim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140915/f25e508a/attachment.html>


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

  Powered by Linux