1 // Reverb model declaration
3 // Google Summer of Code 2007
5 // Authors: Biodun Osunkunle <biodun@videolan.org>
7 // Mentor : Jean-Baptiste Kempf <jb@videolan.org>
9 // Original written by Jezar at Dreampoint, June 2000
15 #include "allpass.hpp"
23 void processreplace(float *inputL, float *outputL, long numsamples, int skip);
24 void processmix(float *inputL, float *outputL, long numsamples, int skip);
25 void setroomsize(float value);
27 void setdamp(float value);
29 void setwet(float value);
31 void setdry(float value);
33 void setwidth(float value);
35 void setmode(float value);
41 float roomsize,roomsize1;
48 // The following are all declared inline
49 // to remove the need for dynamic allocation
50 // with its subsequent error-checking messiness
57 allpass allpassL[numallpasses];
58 allpass allpassR[numallpasses];
60 // Buffers for the combs
61 float bufcombL1[combtuningL1];
62 float bufcombR1[combtuningR1];
63 float bufcombL2[combtuningL2];
64 float bufcombR2[combtuningR2];
65 float bufcombL3[combtuningL3];
66 float bufcombR3[combtuningR3];
67 float bufcombL4[combtuningL4];
68 float bufcombR4[combtuningR4];
69 float bufcombL5[combtuningL5];
70 float bufcombR5[combtuningR5];
71 float bufcombL6[combtuningL6];
72 float bufcombR6[combtuningR6];
73 float bufcombL7[combtuningL7];
74 float bufcombR7[combtuningR7];
75 float bufcombL8[combtuningL8];
76 float bufcombR8[combtuningR8];
78 // Buffers for the allpasses
79 float bufallpassL1[allpasstuningL1];
80 float bufallpassR1[allpasstuningR1];
81 float bufallpassL2[allpasstuningL2];
82 float bufallpassR2[allpasstuningR2];
83 float bufallpassL3[allpasstuningL3];
84 float bufallpassR3[allpasstuningR3];
85 float bufallpassL4[allpasstuningL4];
86 float bufallpassR4[allpasstuningR4];