Csound Csound-dev Csound-tekno Search About

[Csnd-dev] API: SetOption with --output= not working

Date2019-11-27 20:13
FromSteven Yi
Subject[Csnd-dev] API: SetOption with --output= not working
Hi All,

I've been stumped by this. Using csoundSetOption with
"--output=output.wav" fails to override the value in CsOptions in a
CSD.  Seems that even if I call csoundSetOption after calling
csoundCompileCsd it does not override. There seems to be some magic in
main.c to do a second argdecode pass, but I don't see yet why calling
csoundSetOption after csoundCompileCsd wouldn't work.

Any thoughts on this?  This is making it a bit trick for the Csound
Web-IDE to not be able to override the output.

Thanks,