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

Jack Moffitt jack at xiph.org
Wed Oct 3 16:18:13 PDT 2001



jack        01/10/03 16:18:13

  Modified:    omplay   omplay.c
  Log:
  I'm stupid.  We need to send noteoffs _before_ a pause.

Revision  Changes    Path
1.6       +1 -1      ogg-tools/omplay/omplay.c

Index: omplay.c
===================================================================
RCS file: /usr/local/cvsroot/ogg-tools/omplay/omplay.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- omplay.c	2001/10/03 18:18:47	1.5
+++ omplay.c	2001/10/03 23:18:12	1.6
@@ -806,11 +806,11 @@
         while (!eos && device.play.status) {
                 /* Pause if we're supposed to */
                 if (device.pause.status) {
+			global_note_off();
                         while (device.pause.status) {
                                 usleep(10000);
                                 update_status();
                         }
-			global_note_off();
                 }
 
                 /* Handle fast foward */

--- >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