Update of /cvsroot/alsa/alsa-lib/src/seq
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14224
Modified Files:
seq.c
Log Message:
Fixed thinkos in documentation (filter example)
Index: seq.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/seq/seq.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- seq.c 2 Mar 2004 17:13:50 -0000 1.88
+++ seq.c 23 Mar 2004 15:15:21 -0000 1.89
@@ -763,15 +763,13 @@
\code
void event_filter(snd_seq_t *seq, snd_seq_event_t *ev)
{
- snd_seq_event_t *ev;
-
while (snd_seq_event_input(seq, &ev) >= 0) {
//.. modify input event ..
snd_seq_ev_set_source(ev, my_port);
snd_seq_ev_set_subs(ev);
snd_seq_ev_set_direct(ev);
- snd_seq_event_output(seq, &ev);
+ snd_seq_event_output(seq, ev);
snd_seq_drain_output(seq);
}
}
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog