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

Monty xiphmont at xiph.org
Fri Feb 1 05:22:55 PST 2002



xiphmont    02/02/01 05:22:54

  Modified:    .        soundboard.c
  Log:
  a few items still officially unfinished, but no known bugs at this point.

Revision  Changes    Path
1.5       +5 -5      MTG/soundboard.c

Index: soundboard.c
===================================================================
RCS file: /usr/local/cvsroot/MTG/soundboard.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- soundboard.c	2002/02/01 12:58:16	1.4
+++ soundboard.c	2002/02/01 13:22:54	1.5
@@ -850,7 +850,7 @@
       _playback_remove(i);
     
     /* determine if fade out has begun */
-    if(t->sample_position==t->sample_fade_start){
+    if(t->sample_position==t->sample_fade_start && !t->loop_p){
       /* effect a master volume slew *now* */
       t->master_vol_slew=_slew_ms(t->fade_out,
                                   t->master_vol_current,0);
@@ -1962,8 +1962,8 @@
   mvaddch(14+MAX_CHANNELS,77,ACS_LRCORNER);
   
   if(t->channels==2){
-    mvaddstr(13,6," L ");
-    mvaddstr(13,11," R ");
+    mvaddstr(13,5," L ");
+    mvaddstr(13,10," R ");
   }else{
     for(i=0;i<t->channels;i++){
       mvaddch(13,6+i*5,' ');
@@ -2078,8 +2078,8 @@
   mvaddch(13+MAX_CHANNELS,77,ACS_LRCORNER);
   
   if(t->channels==2){
-    mvaddstr(12,6," L ");
-    mvaddstr(12,11," R ");
+    mvaddstr(12,5," L ");
+    mvaddstr(12,10," R ");
   }else{
     for(i=0;i<t->channels;i++){
       mvaddch(12,6+i*5,' ');

<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