sound: usb-audio: limit playback queue length
authorClemens Ladisch <clemens@ladisch.de>
Mon, 26 Jan 2009 07:09:28 +0000 (08:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 Jan 2009 16:05:07 +0000 (17:05 +0100)
Once our URBs contain enough packets, queueing more URBs does not give
us any additional underrun protection (as we use double-buffering) but
just increases latency unnecessarily.  Therefore, we try to limit the
queue length to some reasonable value.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found