Re: [Bluez-devel] AVDTP socket?

Marcel Holtmann
2004-11-18T23:59:28Z

Hi Henryk,

> I'm currently working (more or less; more less than more) on SBC and
> trying to do a decoder first because I figure that would be easier
> (because I know what the result is supposed to look like). I have
> problems synthesizing the PCM audio samples but can parse all of the
> example SBC streams just fine.
>
> I'll attach what I have now. The sbc-test.c currently dumps subband
> samples on stdout for testing, so just redirect that to /dev/null. The decoded
> frame headers are written to stderr.

I just tested it and the result so far is very great. Keep on working on
it. What format do you think is the easiest to encode/decode?

And btw your file creation should be this command:

fh = open("bla_.au", O_WRONLY|O_CREAT|O_TRUNC, 0644);

Regards