sound: usb-audio: use normal number of frames for no-data URBs
authorClemens Ladisch <clemens@ladisch.de>
Mon, 26 Jan 2009 07:08:34 +0000 (08:08 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 Jan 2009 16:05:02 +0000 (17:05 +0100)
commitb7eb4a06e9980973755b7e95a6d97fb8decbf8fd
treea2d43ef6f4f4448b9659c9a9538acfe2e5fec06d
parent8693290b9038f32b6b9bafd97b7e18465d62655b
sound: usb-audio: use normal number of frames for no-data URBs

When sending a silence URB (before playback has started, or when it is
paused), use the number of frames that would be normally sent instead of
a single frame so that the rate at which completion interrupts arrive is
consistent.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usbaudio.c