How can I listen to the audioIn event in a custom class?
I tried to add the event by:
ofAddListener(ofEvent().audioIn, this, &MyClass::audioIn);
but it seem that audioIn is not a member of ofCoreEvents.
I am working with OF 0.9.4.
Thanks for help,
hi, did you ever figure this out?
The way to listen to audio events is by setting them in the soundstream settings. If you have a class like:
void audioIn(ofSoundBuffer & buffer);
void audioOut(ofSoundBuffer & buffer);
// set any other required settings