fix output to audio file

This commit is contained in:
tildearrow 2021-12-12 15:22:27 -05:00
parent 4b32599237
commit 63fe2e2c95

View file

@ -1232,6 +1232,7 @@ bool DivEngine::init(String outName) {
short* ilBuffer=new short[got.bufsize*2];
// render to file
remainingLoops=1;
play();
while (remainingLoops) {
nextBuf(NULL,NULL,0,2,got.bufsize);