This patch fixes the kernel side of snd_pcm_pause() to actually pause
instead of always returning -EBADFD.  The patch is against
alsa-driver-0.9.4, same as CVS HEAD for this file.

--- acore/pcm_native.c~ Tue Jun  3 13:48:09 2003
+++ acore/pcm_native.c  Tue Jun  3 19:27:06 2003
@@ -863,7 +863,7 @@
 
 static int snd_pcm_pause(snd_pcm_substream_t *substream, int push)
 {
-       return snd_pcm_action(&snd_pcm_action_pause, substream, 0);
+       return snd_pcm_action(&snd_pcm_action_pause, substream, push);
 }
 
 #ifdef CONFIG_PM


-- 
Måns Rullgård
[EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to