Skip to contentSkip to conversation

Fix pause function

PATCH New Måns Rullgård 1 participant 1 message Jun 3, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix pause function

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.

pcm_native.c renamed from pcm_native.c~ +1 -1
@@ -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
Signature · 9 lines
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