ALSA: usb-audio: make buffer pointer based on bytes instead on frames
authorClemens Ladisch <clemens@ladisch.de>
Sun, 27 Dec 2009 17:19:57 +0000 (12:19 -0500)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Dec 2009 11:29:46 +0000 (12:29 +0100)
Since there are devices that do not align the size of their data packets
to frame boundaries, the driver needs to be able to keep track of
partial frames.  This patch prepares for support for such devices by
changing the hwptr_done variable from a frame counter to a byte counter.

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

No differences found