[ALSA] pcm_oss - fix SNDCTL_DSP_GETOPTR not working correctly
authorRoger Mach <bigmach@us.ibm.com>
Thu, 26 May 2005 15:58:01 +0000 (17:58 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sun, 29 May 2005 08:14:59 +0000 (10:14 +0200)
commitc3a9cfac750d78241b5dde7d004522f687703b90
tree9d7245efcd1703a0f0ddf2b15b87c1aabac36e29
parent71fe7b82db923e0f71b05deeb54fce75d5a4d08d
[ALSA] pcm_oss - fix SNDCTL_DSP_GETOPTR not working correctly

ALSA<-OSS emulation
This patch changes snd_pcm_oss_bytes() by adding a local variable
for the frames -> bytes conversion, which means that the frame count
is no longer corrupted by this conversion.

Signed-off-by: Roger Mach <bigmach@us.ibm.com>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/core/oss/pcm_oss.c