[PATCH] dmasound SOUND_PCM_READ_RATE

From: Geert Uytterhoeven
Date: Fri Aug 29 2003 - 10:10:14 EST


dmasound: Implement missing SOUND_PCM_READ_RATE ioctl (from Richard Zidlicky)

--- linux-2.4.23-pre1/drivers/sound/dmasound/dmasound_core.c Mon Jul 21 23:39:01 2003
+++ linux-m68k-2.4.23-pre1/drivers/sound/dmasound/dmasound_core.c Wed Jul 23 17:58:36 2003
@@ -1211,6 +1211,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@xxxxxxxxxxxxxx

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/