comparison audioio/AudioCallbackPlaySource.cpp @ 149:37cb005f7c40

* FFT: fix invalid write of normalisation factor in compact mode of disc cache * FFT: fix range problem for normalisation factor in compact mode (it was stored as an unsigned scaled from an assumed float range of 0->1, which is not very plausible and not accurate enough even if true -- use a float instead) * Spectrogram: fix vertical zoom behaviour for log frequency spectrograms: make the thing in the middle of the display remain in the middle after zoom * Overview widget: don't update the detailed waveform if still decoding the audio file (too expensive to do all those redraws)
author Chris Cannam
date Fri, 08 Jun 2007 15:19:50 +0000
parents 0c22273a1d8c
children f0c47d8988bc
comparison
equal deleted inserted replaced
148:0c22273a1d8c 149:37cb005f7c40
221 } 221 }
222 222
223 void 223 void
224 AudioCallbackPlaySource::modelChanged(size_t startFrame, size_t endFrame) 224 AudioCallbackPlaySource::modelChanged(size_t startFrame, size_t endFrame)
225 { 225 {
226 std::cerr << "AudioCallbackPlaySource::modelChanged(" << startFrame << "," << endFrame << ")" << std::endl; 226 // std::cerr << "AudioCallbackPlaySource::modelChanged(" << startFrame << "," << endFrame << ")" << std::endl;
227 if (endFrame > m_lastModelEndFrame) m_lastModelEndFrame = endFrame; 227 if (endFrame > m_lastModelEndFrame) m_lastModelEndFrame = endFrame;
228 } 228 }
229 229
230 void 230 void
231 AudioCallbackPlaySource::removeModel(Model *model) 231 AudioCallbackPlaySource::removeModel(Model *model)