Commit 8261a309 authored by Monty Montgomery's avatar Monty Montgomery

Enable peak followers on several VU meters where having visual peak

indication is potentially useful



git-svn-id: https://svn.xiph.org/trunk/postfish@8035 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent f4407edc
......@@ -292,11 +292,11 @@ void clippanel_create(postfish_mainpanel *mp,
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;
......
......@@ -965,7 +965,7 @@ static multi_panel_state *compandpanel_create(postfish_mainpanel *mp,
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;
......
......@@ -146,8 +146,8 @@ void limitpanel_create(postfish_mainpanel *mp,
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;
......
......@@ -662,7 +662,7 @@ static singlecomp_panel_state *singlepanel_create_helper (postfish_mainpanel *mp
{
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;
......
#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] */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment