[Bluez-devel] audio problems with a2play

Brad Midgley
2004-11-22T18:12:27Z

Guys

The iPhono stopped producing recognizable sound using a2play a few days
ago... but even the most successful transfers with a2play have been
mixed with static.

I'm convinced we need a media payload header. Page 23 of the A2DP spec
shows how the media payload header should look.

I tried changing a2play to send media_payload_header instead of
sbc_frame_header and I got "quiet" noise when I did that. I tried
various frame counts with no luck.

I need to get a better idea of what is going on...

* which frame exactly is a2play's calc_frame_length measuring? Is it the
same "sbc frame" that they're talking about in a2dp p.24?

* how did you decide to put 2 0xff bytes in the CSRC section of the
media packet header? Why isn't this CSRC a multiple of 4 bytes like the
spec suggests on avdtp p. 46?

* what is the CSRC? (spec says "The CSRC list identifies the
contributing sources for the payload contained in this packet")

Brad