acids-ircam / rave_vst

Other
184 stars 28 forks source link

std::cout & std::cerr in hard real-time context? #17

Closed iorhythm closed 2 years ago

iorhythm commented 2 years ago

Hey there,

to my knowledge, outputting to the standard console whilst in a hard-real time context is really bad and ought to be avoided. I noticed there are several instances of this in the rave-vst code.

I'd be more than keen to contribute and change these to e.g., juce::DBG calls - however I don't have a working build of rave-vst at the moment (I use Win10 mostly).

HTH

iorhythm commented 2 years ago

Hola,

I've forked the repository and changed those statements to juce::DBG() calls, to ensure they wouldn't affect real-time performance.