[Stk] avoid stdout prints

Norman Casagrande casagran at iro.umontreal.ca
Thu Oct 7 22:05:05 PDT 2004


Hi all,

I have been using STK for a while in my university project, and I like its 
clean framework, but I have a small remark to give: why is there no way to 
deactivate all the messages (printf) in WvOut? I am generating a lot of wav 
files, and it is a little bit annoying to see every time all these messages 
like:

WvOut: creating WAV file: myFile_3433.wav

I could redirect stdout but it is not clean, and I would be forced to 
switch stream every time I need to print something.
It would be very handy to have a flag, or a value we can set in the 
constructor so that this output is on or off depending on the user's need.

Thanks in advance,


Norman Casagrande
LISA Labo
Université de Montréal




More information about the Stk mailing list