Possible bug in bool AudioFormatWriter::writeFromAudioSampleBuffer


#1

this method : bool AudioFormatWriter::writeFromAudioSampleBuffer(const AudioSampleBuffer & source,int startSample,int numSamples )

always returns false if the audio sample buffer is bigger than the size passed in the constructor : juce::AudioFormatWriter::ThreadedWriter because the FIFO will never be big enough to contain that many samples.

 

Maybe it's by design and I should design my code otherwise...


#2

Not sure I understand..? Which constructor? Which fifo?