FileOutputStream* outputTo = ofile.createOutputStream();
WavAudioFormat* format = new WavAudioFormat();
AudioFormatWriter* writer = format->createWriterFor(outputTo, fs, 1, nbits, NULL, 0);
I get a very strange (and frustrating) error at the end of the first block (writeToAudioWriter) when it hits line 667 of juce_AudioSampleBuffer.cpp
Access violation reading location 0x00000018.
Its gotta be something stupid but I can’t find it. Anybody can give me a hint? Thanks!