patch-1.3.78 linux/drivers/sound/sequencer.c
Next file: linux/drivers/sound/sound_config.h
Previous file: linux/drivers/sound/sb_dsp.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Sun Mar 24 22:50:23 1996
- Orig file:
v1.3.77/linux/drivers/sound/sequencer.c
- Orig date:
Wed Feb 28 11:50:08 1996
diff -u --recursive --new-file v1.3.77/linux/drivers/sound/sequencer.c linux/drivers/sound/sequencer.c
@@ -1908,12 +1908,12 @@
cli ();
if (!iqlen)
{
+
midi_sleep_flag.mode = WK_SLEEP;
module_select_wait (&midi_sleeper, wait);
restore_flags (flags);
return 0;
}
- midi_sleep_flag.mode &= ~WK_SLEEP;
restore_flags (flags);
return 1;
break;
@@ -1923,12 +1923,12 @@
cli ();
if ((SEQ_MAX_QUEUE - qlen) < output_treshold)
{
+
seq_sleep_flag.mode = WK_SLEEP;
module_select_wait (&seq_sleeper, wait);
restore_flags (flags);
return 0;
}
- seq_sleep_flag.mode &= ~WK_SLEEP;
restore_flags (flags);
return 1;
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this