HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CL_Reverb.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: CL_Reverb.h ( Clip Library, C++)
7  *
8  * COMMENTS:
9  * Does realtime echoing.
10  *
11  */
12 
13 #ifndef __CL_Reverb__
14 #define __CL_Reverb__
15 
16 #include "CL_API.h"
17 #include "CL_SlidingWindow.h"
18 #include <SYS/SYS_Types.h>
19 
21 {
22 public:
23 
24  CL_Reverb(int size, int overlap);
25  ~CL_Reverb() override;
26 
27  void setReverbFilter(int nechos, fpreal *reverb);
28  void setMaxReverb(int max);
29 
30 private:
31 
32  void doWindowOp(int nsamples, fpreal *dest) override;
33 
34  fpreal *myReverb;
35  int myNumEchos;
36 
37 };
38 
39 
40 #endif
#define CL_API
Definition: CL_API.h:10
GLsizeiptr size
Definition: glcorearb.h:664
fpreal64 fpreal
Definition: SYS_Types.h:277
ImageBuf OIIO_API max(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)