[xiph-cvs] cvs commit: MTG soundboard.c

Monty xiphmont at xiph.org
Fri Feb 1 04:58:17 PST 2002



xiphmont    02/02/01 04:58:17

  Modified:    .        soundboard.c
  Log:
  bug fixes

Revision  Changes    Path
1.4       +3 -6      MTG/soundboard.c

Index: soundboard.c
===================================================================
RCS file: /usr/local/cvsroot/MTG/soundboard.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- soundboard.c	2002/02/01 11:20:54	1.3
+++ soundboard.c	2002/02/01 12:58:16	1.4
@@ -391,10 +391,7 @@
   int refcount;
   _alloc_tag_if_needed(number);
 
-  refcount=tag_list[number].refcount;
-  
   tag_list[number]=t;
-  tag_list[number].refcount=refcount;
 
   /* state is zeroed when we go to production mode.  Done  */
   return(0);
@@ -462,9 +459,9 @@
     release_label(t.sample_path);
     return(-1);
   }
+  edit_tag(number,t);
   aquire_label(t.sample_desc);
 
-  edit_tag(number,t);
   return(0);
 }
 
@@ -2179,7 +2176,7 @@
         fprintf(stderr,"Press enter to continue\n");
         getc(stdin);
         switch_to_ncurses();
-
+	f.edit=1;
       }else{
         switch_to_ncurses();
         break;
@@ -2205,8 +2202,8 @@
     t.fade_out=15;
     
     tagno=new_tag_number();
-    aquire_tag(tagno);
     edit_tag(tagno,t);
+    aquire_tag(tagno);
   }
 
   /* got it, add a new cue */

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