[pulseaudio-discuss] Bluetooth HSP handling on pulseaudio
suzukisn at gmail.com
Wed Jun 28 12:32:09 UTC 2017
Thank you for reply.
I understood spec on pulseaudio.
I wanted to implement simple telephony app using Bluetooth headset.
I will use stream API to handle voice packet without the AT command.
> 2017/06/27 22:54、Tanu Kaskinen <tanuk at iki.fi>のメール:
> On Sat, 2017-06-24 at 15:19 +0900, Shinnosuke Suzuki wrote:
>> Hi all,
>> I’m a new to pulseaudio development.
>> I would like to write program which handle voice packet and some Bluetooth HSP event (RING,CKPD etc) from/to bluetooth headset.
>> The pulseaudio 6.0 support HSP with bluez5, so I think this can be done.
>> I read programming documentation, and I think the program needs asynchronous API not the simple API.
>> But I couldn’t find any information on handling bluetooth HSP event and voice packet.
>> I there any manual or sample code on this?
> From an application's point of view "HSP audio packet handling" is done
> just like with any other audio device. PulseAudio doesn't have any
> special Bluetooth API, you just play and record audio using the normal
> stream API. A new sink and source will be created for the headset when
> it's connected.
> RING and CKPD are ignored by PulseAudio, so you can't currently get
> notifications about those, unfortunately.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pulseaudio-discuss