How does the audioOut() method works in the audioOutputExample project?

I see the audioOut method declared in the .h and .cpp testApp files but I dont see when it is called, how does that method works in terms of invocation?


interesting question, I don’t see it either…

it is called from the sound stream, look into the particular implementation, ofRtAudioSoundStream.cpp

that class on the callback function calls audioIn/Out in any listener (usually testApp)

so you don’t need to call this function, it’s called from the soundstream whenever you setup a soundstream with your app as it’s done in the audioOutputExample

@Arturo Muchas Gracias!