Dear community
I have a bit of experience with Bluetooth, but almost none with Audio
streaming. Maybe somebody could give me some useful hints, URLs or
HowTos to help me to get on.
My programming task: Receive audio stream from A2DP, decode it and play
it. Reception of A2DP stream is ok for me, decoding should work with
sbc, but there is still the problem how to get the data to the sound
card. So far I thought I need a sound driver for A2DP, as a kernel
module and call open, ioctl and write via snd_hwdep routines. Is that right?
Thanks for help
Frank
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Guys
>> My programming task: Receive audio stream from A2DP, decode it and play
>> it.
>
> maybe http://bluetooth-alsa.sourceforge.net/ is that what are you looking
> for?
right... see the a2recv app in btsco
brad
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi Frank,
> My programming task: Receive audio stream from A2DP, decode it and play
> it. Reception of A2DP stream is ok for me, decoding should work with
> sbc, but there is still the problem how to get the data to the sound
> card. So far I thought I need a sound driver for A2DP, as a kernel
> module and call open, ioctl and write via snd_hwdep routines. Is that
> right?
maybe http://bluetooth-alsa.sourceforge.net/ is that what are you looking
for?
Manuel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Dear community
I want to use the codec implemented in sbc.c in btsco. Is there a chance
to get a documentation of the code? I understand so much that you call
sbc_init() first, sbc_finish() at the end, and use sbc_decode() and
sbc_encode() for converting.
sbc_encode: It seems like you put pcm data on 'data' and get sbc data in
'sbc.data'. 'count' is not used in the function. How often must I call
it? How do I know how much of 'data' is converted already?
sbc_decode: Put sbc data on 'data' and you get pcm data in 'sbc.m.data'.
Is that right? Must I always change the byte order like it is done in
a2recv.c?
Are there special things to do if I have a .wav file or do I just have
to call the functions? I am just talking of the payload and not the headers.
It would help me a lot if somebody could put me on the right track.
Thanks a lot
Frank
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users