From: Clemens Ladisch Date: Sun, 27 Dec 2009 17:19:57 +0000 (-0500) Subject: ALSA: usb-audio: make buffer pointer based on bytes instead on frames X-Git-Tag: v2.6.34-rc1~243^2~2^2~13^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adc8d31326c32a2a1e145ab80accbc3c6570b117;p=pandora-kernel.git ALSA: usb-audio: make buffer pointer based on bytes instead on frames 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed