diff runner/MultiplexedReader.cpp @ 219:d0fe861bb116

Fix grisly error in multiplexed audio reader (calling itself!)
author Chris Cannam
date Fri, 20 Nov 2015 09:32:11 +0000
parents 3f7c65f26559
children 857ce6ecb163
line wrap: on
line diff
--- a/runner/MultiplexedReader.cpp	Fri Nov 20 09:31:55 2015 +0000
+++ b/runner/MultiplexedReader.cpp	Fri Nov 20 09:32:11 2015 +0000
@@ -60,7 +60,7 @@
     for (int out_chan = 0; out_chan < out_chans; ++out_chan) {
 
 	AudioFileReader *reader = m_readers[out_chan];
-	SampleBlock readerBlock = getInterleavedFrames(start, frameCount);
+	SampleBlock readerBlock = reader->getInterleavedFrames(start, frameCount);
 
 	int in_chans = reader->getChannelCount();