Commit 04eefcf3 authored by Monty Montgomery's avatar Monty Montgomery

First step of generalizing multicompand setup to allow multiple panels

and per-channel config



git-svn-id: https://svn.xiph.org/trunk/postfish@6578 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent 675da3e8
This diff is collapsed.
This diff is collapsed.
......@@ -48,10 +48,12 @@ static char * const multicomp_freq_labels[multicomp_banks][multicomp_freqs_max]=
typedef struct {
sig_atomic_t static_o[multicomp_freqs_max];
sig_atomic_t static_u[multicomp_freqs_max];
} banked_compand_settings;
} banked_multicompand_settings;
typedef struct {
banked_multicompand_settings bc[multicomp_banks];
sig_atomic_t over_mode;
sig_atomic_t over_softknee;
sig_atomic_t over_ratio;
......@@ -74,16 +76,17 @@ typedef struct {
sig_atomic_t under_trim;
sig_atomic_t active_bank;
} other_compand_settings;
sig_atomic_t panel_active;
sig_atomic_t panel_visible;
} multicompand_settings;
extern void multicompand_reset();
extern int multicompand_load(void);
extern time_linkage *multicompand_read(time_linkage *in);
extern int pull_multicompand_feedback(float **peak,float **rms,int *bands);
extern int multicompand_over_attack_set(float msec);
extern int multicompand_over_decay_set(float msec);
extern int multicompand_under_attack_set(float msec);
extern int multicompand_under_decay_set(float msec);
extern int multicompand_base_attack_set(float msec);
extern int multicompand_base_decay_set(float msec);
extern time_linkage *multicompand_read_channels(time_linkage *in);
extern time_linkage *multicompand_read_master(time_linkage *in);
extern int pull_multicompand_feedback_channels(float **peak,float **rms,int *bands);
extern int pull_multicompand_feedback_master(float **peak,float **rms,int *bands);
......@@ -238,7 +238,12 @@ void *playback_thread(void *dummy){
link=declip_read(link);
result|=link->samples;
link=multicompand_read(link);
link=multicompand_read_master(link);
result|=link->samples;
link=singlecomp_read(link);
result|=link->samples;
......
#define VERSION "$Id$ "
/* DO NOT EDIT: Automated versioning hack [Thu Apr 22 07:48:59 EDT 2004] */
/* DO NOT EDIT: Automated versioning hack [Thu Apr 22 18:25:14 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