From: Brad Midgley <bmidgley@xmission.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] AVDTP socket?
Date: Fri, 19 Nov 2004 02:03:29 -0700 [thread overview]
Message-ID: <419DB6E1.8000203@xmission.com> (raw)
In-Reply-To: <1100822368.7164.98.camel@pegasus>
Marcel
I cleaned up the bitfields for the avdtp packets and committed it...
Do you think this looks right for covering the header on avdtp page 45?
// remember htobs() for converting from host to bluetooth byte ordering
// when putting data in this struct
typedef struct {
uint8_t v:2;
uint8_t p:1;
uint8_t x:1;
uint8_t cc:4;
uint8_t m:1;
uint8_t pt:7;
uint16_t sequence_number;
uint32_t timestamp;
uint32_t ssrc;
uint32_t csrc[0];
} __attribute__ ((packed)) media_packet_header;
If that looks like the right direction, I need to work on delineating
the sbc frames inside the sbc file so i can put on the media packet
headers and the media payload headers. Is it straightforward?
Brad
Marcel Holtmann wrote:
> 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
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2004-11-19 9:03 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-07 5:36 [Bluez-devel] AVDTP socket? Brad Midgley
2004-11-07 12:27 ` Marcel Holtmann
2004-11-07 16:34 ` Brad Midgley
2004-11-07 16:54 ` Marcel Holtmann
2004-11-07 18:55 ` Brad Midgley
2004-11-07 21:33 ` Marcel Holtmann
2004-11-10 5:46 ` Brad Midgley
2004-11-10 8:47 ` Marcel Holtmann
2004-11-10 18:01 ` Brad Midgley
2004-11-10 18:57 ` Marcel Holtmann
2004-11-12 23:13 ` Brad Midgley
2004-11-13 0:38 ` Marcel Holtmann
2004-11-13 3:13 ` Brad Midgley
2004-11-13 13:06 ` Marcel Holtmann
2004-11-14 7:54 ` Brad Midgley
2004-11-14 15:29 ` Marcel Holtmann
2004-11-17 15:47 ` Brad Midgley
2004-11-17 15:52 ` Marcel Holtmann
2004-11-17 19:52 ` Brad Midgley
2004-11-17 20:01 ` Marcel Holtmann
2004-11-18 13:27 ` Henryk Plötz
2004-11-18 15:26 ` Brad Midgley
2004-11-18 19:11 ` Marcel Holtmann
2004-11-19 18:32 ` Henryk Plötz
2004-11-19 21:40 ` Brad Midgley
2004-11-18 23:59 ` Marcel Holtmann
2004-11-19 9:03 ` Brad Midgley [this message]
2004-11-19 11:41 ` Marcel Holtmann
2004-11-19 16:35 ` Brad Midgley
2004-11-19 16:53 ` Marcel Holtmann
2004-11-19 17:39 ` Marcel Holtmann
2004-11-19 20:45 ` Marcel Holtmann
2004-11-19 21:20 ` Henryk Plötz
2004-11-19 21:33 ` Marcel Holtmann
2004-11-19 23:58 ` Henryk Plötz
2004-11-19 21:51 ` Brad Midgley
2004-11-19 22:04 ` Marcel Holtmann
2004-11-19 23:23 ` Brad Midgley
2004-11-20 0:09 ` Marcel Holtmann
2004-11-20 0:04 ` Henryk Plötz
2004-11-20 0:43 ` Marcel Holtmann
2004-11-20 0:50 ` Henryk Plötz
2004-11-20 5:04 ` Marcel Holtmann
2004-11-19 18:44 ` Henryk Plötz
2004-11-19 18:38 ` Henryk Plötz
2004-11-19 18:56 ` Marcel Holtmann
2004-11-19 21:06 ` Henryk Plötz
2004-11-19 21:23 ` Marcel Holtmann
2004-11-21 5:46 ` Henryk Plötz
2004-11-21 17:44 ` Marcel Holtmann
2004-11-22 3:18 ` Marcel Holtmann
2004-11-22 4:32 ` Henryk Plötz
2004-11-22 13:28 ` Marcel Holtmann
2004-11-23 0:53 ` Henryk Plötz
2004-11-23 6:22 ` Marcel Holtmann
2004-11-22 4:22 ` [Bluez-devel] sbc reindent Brad Midgley
2004-11-15 8:24 ` [Bluez-devel] AVDTP socket? Sebastien
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=419DB6E1.8000203@xmission.com \
--to=bmidgley@xmission.com \
--cc=bluez-devel@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