Mercurial > hg > svapp
comparison audioio/AudioCallbackPlaySource.cpp @ 281:cba1e2a3d14b tonioni
different colours, some minor changes, mainly debugging cerrs
author | matthiasm |
---|---|
date | Fri, 19 Apr 2013 15:37:27 +0100 |
parents | f853dfb200de |
children | 14b1768e5406 |
comparison
equal
deleted
inserted
replaced
280:cf32a7c584c2 | 281:cba1e2a3d14b |
---|---|
162 if (modelChannels > m_sourceChannelCount) { | 162 if (modelChannels > m_sourceChannelCount) { |
163 m_sourceChannelCount = modelChannels; | 163 m_sourceChannelCount = modelChannels; |
164 } | 164 } |
165 | 165 |
166 #ifdef DEBUG_AUDIO_PLAY_SOURCE | 166 #ifdef DEBUG_AUDIO_PLAY_SOURCE |
167 std::cout << "Adding model with " << modelChannels << " channels at rate " << model->getSampleRate() << std::endl; | 167 std::cout << "AudioCallbackPlaySource.cpp: Adding model with " << modelChannels << " channels at rate " << model->getSampleRate() << std::endl; |
168 #endif | 168 #endif |
169 | 169 |
170 if (m_sourceSampleRate == 0) { | 170 if (m_sourceSampleRate == 0) { |
171 | 171 |
172 m_sourceSampleRate = model->getSampleRate(); | 172 m_sourceSampleRate = model->getSampleRate(); |