@firmread wrote:
So I've been playing around with Kyle's ofxFft and trying to update the examples to compatible with
master
version. Since audioIn now depreciated oldvoid audioIn(float* input, int bufferSize, int nChannels)
forvoid audioIn(ofSoundBuffer& buffer)
I just want to see how to translate from the old one to new ofSoundBuffer.In some case, I was able to simply replace
index
withbuffer
right away. But I'm having problem with this example which involve usingmemcpy
When I replaceinput
with&buffer
it compiles just fine but won't get the right output. I'm guessing it had something to do withsizeof(float)
but I'm at my wit ends how to fix it.Any suggestion? Thx!
Posts: 1
Participants: 1