Mercurial > hg > sonic-annotator
comparison runner/MultiplexedReader.cpp @ 263:68dc2d99a5b1 piper-nopiper
Debug output updates, add quiet mode
author | Chris Cannam |
---|---|
date | Tue, 22 Nov 2016 16:42:56 +0000 |
parents | 857ce6ecb163 |
children | 6122159556bd |
comparison
equal
deleted
inserted
replaced
262:d7bbc5b03619 | 263:68dc2d99a5b1 |
---|---|
18 MultiplexedReader::MultiplexedReader(QList<AudioFileReader *> readers) : | 18 MultiplexedReader::MultiplexedReader(QList<AudioFileReader *> readers) : |
19 m_readers(readers) | 19 m_readers(readers) |
20 { | 20 { |
21 m_channelCount = readers.size(); | 21 m_channelCount = readers.size(); |
22 m_sampleRate = readers[0]->getSampleRate(); | 22 m_sampleRate = readers[0]->getSampleRate(); |
23 | |
24 SVDEBUG << "MultiplexedReader: channel count: " << m_channelCount | |
25 << " (i.e. " << m_channelCount << " reader(s) to multiplex)" << endl; | |
26 SVDEBUG << "MultiplexedReader: sample rate from first reader: " | |
27 << m_sampleRate << endl; | |
23 | 28 |
24 m_frameCount = 0; | 29 m_frameCount = 0; |
25 m_quicklySeekable = true; | 30 m_quicklySeekable = true; |
26 | 31 |
27 foreach (AudioFileReader *r, m_readers) { | 32 foreach (AudioFileReader *r, m_readers) { |