Commit e8bf0473 authored by Monty Montgomery's avatar Monty Montgomery

Huh.... looks like a commit may have been partially lost; I know I fixed these three bugs already.

Anyway, it both compiles and works now.

Monty



git-svn-id: https://svn.xiph.org/trunk/postfish@8773 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent 6ed1ee09
......@@ -615,7 +615,7 @@ int p_reverb_load(void){
for(i=0;i<input_ch;i++)
rcs[i]=reverb_channelset+i;
rms=malloc(OUTPUT_CHANNELS*sizeof(*rms));
for(i=0;i<input_ch;i++)
for(i=0;i<OUTPUT_CHANNELS;i++)
rms[i]=&reverb_masterset;
time_linkage_init(&outA,input_ch);
......
......@@ -103,6 +103,8 @@ void time_linkage_clear(time_linkage *in){
int i;
for(i=0;i<in->channels;i++)
memset(in->data[i],0,sizeof(**in->data)*input_size);
in->samples=0;
in->active=0;
}
int time_linkage_copy(time_linkage *dest,time_linkage *src){
......
......@@ -129,11 +129,6 @@ static inline void underguard(float *x){
#define toBark(n) (13.1f*atan(.00074f*(n))+2.24f*atan((n)*(n)*1.85e-8f)+1e-4f*(n))
#define fromBark(z) (102.f*(z)-2.f*pow(z,2.f)+.4f*pow(z,3.f)+pow(1.46f,z)-1.f)
typedef struct postfish_instance {
int blocksize;
int rate;
} postfish_instance;
typedef struct time_linkage {
int alias;
int samples; /* normally same as size; exception is EOF */
......
#define VERSION "$Id$ "
/* DO NOT EDIT: Automated versioning hack [Sun Jan 2 22:19:56 EST 2005] */
/* DO NOT EDIT: Automated versioning hack [Thu Jan 20 00:32:25 EST 2005] */
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