public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] a2dp timing
@ 2005-03-25  5:00 Brad Midgley
  2005-03-25 13:14 ` Marcel Holtmann
  0 siblings, 1 reply; 11+ messages in thread
From: Brad Midgley @ 2005-03-25  5:00 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi

We've had problems with a2dp timing that I've been ignoring.

For one, a2play crams frames into the headset just as fast as it can. 
Sometimes this is too fast. So we need to clock it so things are 
staggered properly. Does the SBC encoder give us a clue about timing 
between frames?

Second, if the headset wanders out of range, the player stops and starts 
up where it left off when the headset is back. If we're pacing things 
properly, we need to drop frames instead when this happens. I'm thinking 
if it results in a legal SBC stream that I'll drop entire SBC frames in 
the main loop with something like:

	frame_len = read_header(fd, &sbc_info);
	bytes_read = read(fd, killbuffer, frame_len);

Are there other timing issues I need to think about? Does it get so 
messy that I need to watch jitter? I can only vaguely remember this 
stuff from my networking classes...

Brad


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-04-05 15:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-25  5:00 [Bluez-devel] a2dp timing Brad Midgley
2005-03-25 13:14 ` Marcel Holtmann
2005-03-25 14:22   ` Guylhem Aznar
2005-03-25 14:26     ` Marcel Holtmann
2005-03-25 17:23       ` Guylhem Aznar
2005-03-25 17:28         ` Marcel Holtmann
2005-03-25 18:14         ` btlog anyone? " Brad Midgley
2005-03-25 16:44   ` Brad Midgley
2005-03-25 17:31     ` Marcel Holtmann
2005-04-04 17:14       ` Brad Midgley
2005-04-05 15:12         ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox