public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Brad Midgley <bmidgley@xmission.com>
To: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] a2dp timing
Date: Thu, 24 Mar 2005 22:00:10 -0700	[thread overview]
Message-ID: <42439ADA.5000006@xmission.com> (raw)

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

             reply	other threads:[~2005-03-25  5:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-25  5:00 Brad Midgley [this message]
2005-03-25 13:14 ` [Bluez-devel] a2dp timing 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
  -- strict thread matches above, loose matches on Subject: below --
2005-04-14  8:04 Mayank Batra
2005-04-14  8:17 ` Brad Midgley
2005-04-15  9:41 Mayank Batra
2005-04-16 20:32 ` Henryk Plötz

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=42439ADA.5000006@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