Takashi Iwai <iwai@ww.uni-erlangen.de>

Mon, 03 Jan 2000 10:47:02 +0100
- bugfix: proper handling of exclusive subscription
- bugfix and update: alsa-lib/test/seq* stuff
- minor updates (long option support, etc) of aconnect and aseqnet
- man pages for aconnect and aseqnet are added
This commit is contained in:
Jaroslav Kysela 2000-01-03 10:25:56 +00:00
parent e4b58d20f1
commit d117462cb9
9 changed files with 364 additions and 299 deletions

View file

@ -772,6 +772,16 @@ int snd_seq_event_input_selective(snd_seq_t *seq, snd_seq_event_t **ev, int type
return seq->cells;
}
/*
* return the size of pending events
*/
int snd_seq_event_output_pending(snd_seq_t *seq)
{
if (!seq)
return -EINVAL;
return seq->obufused;
}
/*
* flush output buffer to sequencer
*/
@ -842,6 +852,7 @@ int snd_seq_drain_output_buffer(snd_seq_t *seq)
if (!seq)
return -EINVAL;
seq->obufused = 0;
return 0;
}
/*
@ -857,7 +868,7 @@ int snd_seq_drain_input_buffer(snd_seq_t *seq)
}
/*
* clear output buffer and and remove events in sequencer queue
* clear output buffer and remove events in sequencer queue
*/
int snd_seq_drain_output(snd_seq_t *seq)
{