changeset 11772:a28415f654b8

10l
author henry
date Sun, 11 Jan 2004 10:01:18 +0000
parents 827cae571c5c
children 060b6c86cf31
files libmpdemux/ai_oss.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/ai_oss.c	Sat Jan 10 14:38:07 2004 +0000
+++ b/libmpdemux/ai_oss.c	Sun Jan 11 10:01:18 2004 +0000
@@ -27,7 +27,7 @@
 {
     int tmp = ai->req_samplerate;
     if (ioctl(ai->oss.audio_fd, SNDCTL_DSP_SPEED, &tmp) == -1) return -1;
-    ai->samplerate = ai->req_samplerate;
+    ai->samplerate = tmp;
     return 0;
 }