Bluetooth HSP handling on pulseaudio

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

 



Hi Tanu,

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.

Best Regards,
Shinnosuke Suzuki

> 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.
> 
> -- 
> Tanu
> 
> https://www.patreon.com/tanuk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20170628/71a39352/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