Messages in this thread Patch in this message | | | Date | Sat, 26 Jul 2003 16:52:01 +0200 | From | Geert Uytterhoeven <> | 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/
| |