diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2005-08-15 08:24:44 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-08-30 08:45:43 +0200 |
commit | 7efd8bc800324a967a37e8a425433468b7f06adb (patch) | |
tree | 9366f8d7b709cca8fa243708910783b8977919b7 /kernel/wait.c | |
parent | b263a9bdf9394062a4fc4272ebed60de331c5490 (diff) | |
download | linux-7efd8bc800324a967a37e8a425433468b7f06adb.tar.bz2 |
[ALSA] usb-audio: double-buffer all playback data
USB generic driver
We always had to use double buffering when capturing, and when playback
data for one URB crosses a buffer boundary. The latter would make hwptr
updates less precise because the double-buffered data is read from the
buffer much earlier than the other data is read by the host controller.
Double-buffering all data allows to update hwptr immediately after the
data was copied to the USB buffer(s), which has the additional benefit
of avoiding the latency imposed by the host controller's delay of up to
one frame when interrupting.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'kernel/wait.c')
0 files changed, 0 insertions, 0 deletions