From: "Frank Heimbächer" <frank.heimbaecher@jambit.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] How to use sbc.c of btsco?
Date: Fri, 15 Dec 2006 14:28:48 +0100 [thread overview]
Message-ID: <4582A310.60905@jambit.com> (raw)
In-Reply-To: <44F6B7AE.1030209@jambit.com>
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2006-12-15 13:28 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-31 10:19 [Bluez-users] Play received A2DP data Frank Heimbaecher
2006-08-31 11:37 ` Manuel Bernhardt
2006-08-31 13:05 ` Brad Midgley
2006-12-15 13:28 ` Frank Heimbächer [this message]
2006-12-16 7:28 ` [Bluez-devel] [Bluez-users] How to use sbc.c of btsco? Brad Midgley
2006-12-19 11:43 ` [Bluez-devel] How to use sbc.c ? Frank Heimbächer
2006-12-19 22:17 ` Brad Midgley
2006-12-20 13:14 ` Frédéric DALLEAU
2007-01-10 20:32 ` Brad Midgley
2007-01-11 8:24 ` Siegbert Baude
2007-01-16 4:33 ` Brad Midgley
2007-01-11 8:35 ` Frédéric DALLEAU
2007-01-12 18:52 ` Brad Midgley
2007-01-13 17:32 ` [Bluez-devel] RE : " Frederic Dalleau
2007-01-16 4:25 ` Brad Midgley
2006-12-22 12:07 ` [Bluez-devel] " Frank Heimbaecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4582A310.60905@jambit.com \
--to=frank.heimbaecher@jambit.com \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox