[xiph-cvs] cvs commit: ogg-tools/omplay omplay.c

Jack Moffitt jack at xiph.org
Tue Oct 9 09:02:00 PDT 2001



jack        01/10/09 09:02:00

  Modified:    omplay   omplay.c
  Log:
  Fix global_note_off()

Revision  Changes    Path
1.7       +2 -0      ogg-tools/omplay/omplay.c

Index: omplay.c
===================================================================
RCS file: /usr/local/cvsroot/ogg-tools/omplay/omplay.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- omplay.c	2001/10/03 23:18:12	1.6
+++ omplay.c	2001/10/09 16:01:59	1.7
@@ -677,8 +677,10 @@
         snd_seq_ev_clear(&ev);
         for (c = 0; c < 16; c++) {
                 for (n = 0; n < 128; n++) {
+			snd_seq_ev_set_dest(&ev, device.seq_addr.client, device.seq_addr.port);
                         snd_seq_ev_set_noteoff(&ev, c, n, 127);
                         snd_seq_event_output_direct(device.seqhandle, &ev);
+			snd_seq_drain_output(device.seqhandle);
                 }
         }
 }

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list