commit | adc8d31326c32a2a1e145ab80accbc3c6570b117 | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Sun Dec 27 12:19:57 2009 -0500 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Dec 28 12:29:46 2009 +0100 |
tree | 3ffd8362dc56b49bce34f6bcb3196c9d75f7515d | |
parent | 7d2b451e65d255427c108e990507964ac39c13ee [diff] |
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 <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>