Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-devel] a2play live streaming
@ 2005-05-14  2:12 Brad Midgley
  0 siblings, 0 replies; only message in thread
From: Brad Midgley @ 2005-05-14  2:12 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi

a2play now takes args. they're possibly overly complicated, but here it is:

use: a2play [options] <bdaddr> [filename]
Where bdaddr is the bluetooth address of an A2DP headset and
filename is an audio file or device, or stdin if not specified.

Options:
  -h print this usage and exit
  -v print verbose output

  -d process input as raw audio or an audio device
  -m use mono instead of the default stereo; implies -d
  -s skip over backlogged data to try to eliminate latency; implies -d
  -r rate (hz): use rate, default 44100, for raw audio or device; implies -d

so i stream directly by running:

  a2play -s 00:0D:3C:30:32:AD /dev/dsp

unfortunately, latency is still pretty significant (~400ms?)

any ideas on how to reduce latency? i still use the ring buffer but skip 
to the last frame in the ring when using "-s" so it should never get 
behind there. the problem seems to be somewhere else anyway.

i disabled the stream close command because it locks up the itech. i got 
tired of powercycling it. let me know if it causes problems with the 
other sets.

brad


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-14  2:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-14  2:12 [Bluez-devel] a2play live streaming Brad Midgley

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