2007-11-20 12:31:07

by Kai Vehmanen

[permalink] [raw]
Subject: [Bluez-devel] [PATCH] bluez-utils/audio: kv-multiple-periods-support

Hi,

here's a patch that allows pcm_bluetooth.c to support
multiple period sizes (and thus gives application some
control over the wakeup/latency requirements it has to meet).
This patch works around an alsa-lib bug/limitation (triggered
if we allow the buffersize to vary). And a consequency,
buffersize is always fixed to 3*8192 bytes.

Patch available at:
http://sofia-sip.org/~vehmanek/bluez-patches/patch-20071120-kv-multiple-
periods-support.txt

PS Tested with alsa-lib pcm.c, alsa-utils speaker-test,
gstreamer (gst-launch + alsasink), and pulseaudio. The A2DP headsets
used for testing were Nokia BH-501 and Logitech Freepulse Wireless.

--
[email protected] (Kai Vehmanen)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel