3DOverb.h
532 Bytes
#ifndef __3DOVERB_H__
#define __3DOVERB_H__
#include <stdio.h>
#define NUM_OF_SECTS 2
#define SAMPLE_RATE 44100
#define SAMPLES_PER_MILLISEC SAMPLE_RATE/1000
#define ms *SAMPLES_PER_MILLISEC
#define BUFF_SIZE 512
const struct {int length; float coef;
} _3DO_REVERB_PARMS[ NUM_OF_SECTS ] = {
{ 46.0 ms, 0.391 }, /* left delay section */
{ 40.0 ms, 0.371 } }; /* right delay section */
/******* exported prototypes *********/
int do_reverb(FILE *in_file, FILE *out_file, float *wet, float *dry, int stereo);
#endif