lkml.org 
[lkml]   [2003]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] dmasound SOUND_PCM_READ_RATE
dmasound: Implement missing SOUND_PCM_READ_RATE ioctl (from Richard Zidlicky)

--- linux-2.6.x/sound/oss/dmasound/dmasound_core.c Mon Jul 14 13:16:18 2003
+++ linux-m68k-2.6.x/sound/oss/dmasound/dmasound_core.c Wed Jul 23 18:01:30 2003
@@ -1210,6 +1210,8 @@
shared_resources_initialised = 0 ;
return result ;
break ;
+ case SOUND_PCM_READ_RATE:
+ return IOCTL_OUT(arg, dmasound.soft.speed);
case SNDCTL_DSP_SPEED:
/* changing this on the fly will have weird effects on the sound.
Where there are rate conversions implemented in soft form - it
Gr{oetje,eeting}s,
Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.128 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site