[xiph-cvs] r6778 - trunk/postfish

xiphmont at xiph.org xiphmont at xiph.org
Fri May 28 23:19:37 PDT 2004



Author: xiphmont
Date: 2004-05-29 02:19:37 -0400 (Sat, 29 May 2004)
New Revision: 6778

Modified:
   trunk/postfish/singlepanel.c
   trunk/postfish/version.h
Log:
"Already a bug report"

Threshold config save was broken on singlecomp sliders

<p><p>Modified: trunk/postfish/singlepanel.c
===================================================================
--- trunk/postfish/singlepanel.c	2004-05-29 05:10:06 UTC (rev 6777)
+++ trunk/postfish/singlepanel.c	2004-05-29 06:19:37 UTC (rev 6778)
@@ -87,10 +87,9 @@
 static singlecomp_panel_state **channel_panel;
 
 static void singlepanel_state_to_config_helper(int bank,singlecomp_settings *s,int A){
-  int i;
   config_set_integer("singlecompand_active",bank,A,0,0,0,s->panel_active);
-  config_set_integer("singlecompand_thresh",bank,A,i,0,0,s->u_thresh);
-  config_set_integer("singlecompand_thresh",bank,A,i,0,1,s->o_thresh);
+  config_set_integer("singlecompand_thresh",bank,A,0,0,0,s->u_thresh);
+  config_set_integer("singlecompand_thresh",bank,A,0,0,1,s->o_thresh);
 
   config_set_integer("singlecompand_over_set",bank,A,0,0,0,s->o_mode);
   config_set_integer("singlecompand_over_set",bank,A,0,0,1,s->o_softknee);
@@ -122,13 +121,12 @@
 static void singlepanel_state_from_config_helper(int bank,singlecomp_settings *s,
                                                  singlecomp_panel_state *p,int A){
 
-  int i;
   config_get_sigat("singlecompand_active",bank,A,0,0,0,&s->panel_active);
   gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(p->panel->subpanel_activebutton[0]),s->panel_active);
 
-  config_get_sigat("singlecompand_thresh",bank,A,i,0,0,&s->u_thresh);
+  config_get_sigat("singlecompand_thresh",bank,A,0,0,0,&s->u_thresh);
   multibar_thumb_set(MULTIBAR(p->bar.slider),s->u_thresh,0);
-  config_get_sigat("singlecompand_thresh",bank,A,i,0,1,&s->o_thresh);
+  config_get_sigat("singlecompand_thresh",bank,A,0,0,1,&s->o_thresh);
   multibar_thumb_set(MULTIBAR(p->bar.slider),s->o_thresh,1);
 
   config_get_sigat("singlecompand_over_set",bank,A,0,0,0,&s->o_mode);

Modified: trunk/postfish/version.h
===================================================================
--- trunk/postfish/version.h	2004-05-29 05:10:06 UTC (rev 6777)
+++ trunk/postfish/version.h	2004-05-29 06:19:37 UTC (rev 6778)
@@ -1,2 +1,2 @@
 #define VERSION "$Id$ "
-/* DO NOT EDIT: Automated versioning hack [Fri May 28 23:54:15 EDT 2004] */
+/* DO NOT EDIT: Automated versioning hack [Sat May 29 02:18:36 EDT 2004] */

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