linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dmasound SOUND_PCM_READ_RATE
@ 2003-07-26 14:52 Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2003-07-26 14:52 UTC (permalink / raw)
  To: Linus Torvalds, Alan Cox, Benjamin Herrenschmidt
  Cc: Linux Kernel Development, Geert Uytterhoeven

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] dmasound SOUND_PCM_READ_RATE
@ 2003-08-29 14:51 Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2003-08-29 14:51 UTC (permalink / raw)
  To: Marcelo Tosatti, Benjamin Herrenschmidt
  Cc: Linux Kernel Development, Geert Uytterhoeven

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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-29 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-26 14:52 [PATCH] dmasound SOUND_PCM_READ_RATE Geert Uytterhoeven
2003-08-29 14:51 Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).