Open doriansgithub opened 6 years ago
RingBuffer lies in other project, I think you should ask there.
Also I can't find such lines. I've found inside Novocaine.h :
#ifdef __cplusplus
extern "C" {
#endif
<....>
#ifdef __cplusplus
}
#endif
Here these lines open and close a extern C
block of code.
Sorry, I got that backwards, if we don't include these:
...then we can't compile.
Once we include those, we can compile, but then we can't bring in the:
RingBuffer *RB
...like we bring these in:
@interface NovocainePlayer : NSObject { Novocaine audioManager; AudioFileWriter fileWriter; NVHighpassFilter HPF; NVClippingDetection CDT; NVPeakingEQFilter *PEQ; }
The EQ works, but I'm trying to figure out why it doesn't work as the sample project.
Thanks!
We need to comment out the following in the RingBuffer, or we get errors.
ifdef __cplusplus
endif
Does anyone know why this is the case? We can't init the RingBuffer with the error.