[xiph-commits] r8035 - trunk/postfish

xiphmont at motherfish-iii.xiph.org xiphmont at motherfish-iii.xiph.org
Sat Oct 16 15:08:24 PDT 2004


Author: xiphmont
Date: 2004-10-16 15:08:24 -0700 (Sat, 16 Oct 2004)
New Revision: 8035

Modified:
   trunk/postfish/clippanel.c
   trunk/postfish/compandpanel.c
   trunk/postfish/limitpanel.c
   trunk/postfish/singlepanel.c
   trunk/postfish/version.h
Log:
Enable peak followers on several VU meters where having visual peak
indication is potentially useful



Modified: trunk/postfish/clippanel.c
===================================================================
--- trunk/postfish/clippanel.c	2004-10-16 20:58:37 UTC (rev 8034)
+++ trunk/postfish/clippanel.c	2004-10-16 22:08:24 UTC (rev 8035)
@@ -292,11 +292,11 @@
     clipslider *cs=calloc(1,sizeof(*cs));
     GtkWidget *label;
     GtkWidget *slider=multibar_new(9,slabels,slevels,1,
-				   HI_DECAY|ZERO_DAMP);
+				   HI_DECAY|ZERO_DAMP|PEAK_FOLLOW);
     GtkWidget *readout=readout_new("0.00");
     GtkWidget *readoutdB=readout_new("-40dB");
     GtkWidget *bar=multibar_new(3,labels,levels,0,
-				HI_DECAY|ZERO_DAMP);
+				HI_DECAY|ZERO_DAMP|PEAK_FOLLOW);
 
     cs->slider=slider;
     cs->readout=readout;

Modified: trunk/postfish/compandpanel.c
===================================================================
--- trunk/postfish/compandpanel.c	2004-10-16 20:58:37 UTC (rev 8034)
+++ trunk/postfish/compandpanel.c	2004-10-16 22:08:24 UTC (rev 8035)
@@ -965,7 +965,7 @@
     
     ps->bars[i].readoutu=readout_new("  +0");
     ps->bars[i].readouto=readout_new("  +0");
-    ps->bars[i].slider=multibar_new(15,labels,levels,2,HI_DECAY|LO_DECAY|LO_ATTACK);
+    ps->bars[i].slider=multibar_new(15,labels,levels,2,HI_DECAY|LO_DECAY|LO_ATTACK|PEAK_FOLLOW);
     ps->bars[i].number=i;
     ps->bars[i].mp=ps;
     ps->bars[i].label=label;

Modified: trunk/postfish/limitpanel.c
===================================================================
--- trunk/postfish/limitpanel.c	2004-10-16 20:58:37 UTC (rev 8034)
+++ trunk/postfish/limitpanel.c	2004-10-16 22:08:24 UTC (rev 8035)
@@ -146,8 +146,8 @@
 
   active=activebutton;
 
-  t_slider=multibar_new(9,labels,levels,1,HI_DECAY);
-  a_slider=multibar_new(4,rlabels,rlevels,0,0);
+  t_slider=multibar_new(9,labels,levels,1,HI_DECAY|PEAK_FOLLOW);
+  a_slider=multibar_new(4,rlabels,rlevels,0,PEAK_FOLLOW);
 
   k_slider=slider2;
   d_slider=slider3;

Modified: trunk/postfish/singlepanel.c
===================================================================
--- trunk/postfish/singlepanel.c	2004-10-16 20:58:37 UTC (rev 8034)
+++ trunk/postfish/singlepanel.c	2004-10-16 22:08:24 UTC (rev 8035)
@@ -662,7 +662,7 @@
   {
     ps->bar.readoutu=readout_new("  +0");
     ps->bar.readouto=readout_new("  +0");
-    ps->bar.slider=multibar_new(15,labels,levels,2,HI_DECAY|LO_DECAY|LO_ATTACK);
+    ps->bar.slider=multibar_new(15,labels,levels,2,HI_DECAY|LO_DECAY|LO_ATTACK|PEAK_FOLLOW);
     ps->bar.vu=&ps->ms->u_thresh;
     ps->bar.vo=&ps->ms->o_thresh;
 

Modified: trunk/postfish/version.h
===================================================================
--- trunk/postfish/version.h	2004-10-16 20:58:37 UTC (rev 8034)
+++ trunk/postfish/version.h	2004-10-16 22:08:24 UTC (rev 8035)
@@ -1,2 +1,2 @@
 #define VERSION "$Id$ "
-/* DO NOT EDIT: Automated versioning hack [Sat Oct 16 17:09:50 EDT 2004] */
+/* DO NOT EDIT: Automated versioning hack [Sat Oct 16 18:31:08 EDT 2004] */



More information about the commits mailing list