Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RingBuffer #38

Open
doriansgithub opened this issue Nov 21, 2017 · 2 comments
Open

RingBuffer #38

doriansgithub opened this issue Nov 21, 2017 · 2 comments

Comments

@doriansgithub
Copy link

doriansgithub commented Nov 21, 2017

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.

@K-Be
Copy link

K-Be commented Nov 22, 2017

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.

@doriansgithub
Copy link
Author

Sorry, I got that backwards, if we don't include these:

#ifdef __cplusplus
#endif

...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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants