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);
40 float roomsize,roomsize1;
47 // The following are all declared inline
48 // to remove the need for dynamic allocation
49 // with its subsequent error-checking messiness
56 allpass allpassL[numallpasses];
57 allpass allpassR[numallpasses];
59 // Buffers for the combs
60 float bufcombL1[combtuningL1];
61 float bufcombR1[combtuningR1];
62 float bufcombL2[combtuningL2];
63 float bufcombR2[combtuningR2];
64 float bufcombL3[combtuningL3];
65 float bufcombR3[combtuningR3];
66 float bufcombL4[combtuningL4];
67 float bufcombR4[combtuningR4];
68 float bufcombL5[combtuningL5];
69 float bufcombR5[combtuningR5];
70 float bufcombL6[combtuningL6];
71 float bufcombR6[combtuningR6];
72 float bufcombL7[combtuningL7];
73 float bufcombR7[combtuningR7];
74 float bufcombL8[combtuningL8];
75 float bufcombR8[combtuningR8];
77 // Buffers for the allpasses
78 float bufallpassL1[allpasstuningL1];
79 float bufallpassR1[allpasstuningR1];
80 float bufallpassL2[allpasstuningL2];
81 float bufallpassR2[allpasstuningR2];
82 float bufallpassL3[allpasstuningL3];
83 float bufallpassR3[allpasstuningR3];
84 float bufallpassL4[allpasstuningL4];
85 float bufallpassR4[allpasstuningR4];