# HG changeset patch # User Chris Cannam # Date 1161004437 0 # Node ID 4253ad318db5d742db5fe210d29bc321cd91c66e # Parent ca1e3f5657d57ddfabe0dbee3756964fbe32575d * Add spectrum icon * Start range mapper class for use in mapping between e.g. dial positions and underlying values diff -r ca1e3f5657d5 -r 4253ad318db5 audioio/AudioCallbackPlaySource.cpp --- a/audioio/AudioCallbackPlaySource.cpp Fri Oct 13 12:51:05 2006 +0000 +++ b/audioio/AudioCallbackPlaySource.cpp Mon Oct 16 13:13:57 2006 +0000 @@ -32,7 +32,6 @@ //#define DEBUG_AUDIO_PLAY_SOURCE 1 //#define DEBUG_AUDIO_PLAY_SOURCE_PLAYING 1 -//const size_t AudioCallbackPlaySource::m_ringBufferSize = 102400; const size_t AudioCallbackPlaySource::m_ringBufferSize = 131071; AudioCallbackPlaySource::AudioCallbackPlaySource(ViewManager *manager) : @@ -794,18 +793,13 @@ int warned = 0; - - - //!!! // We want output blocks of e.g. 1024 (probably fixed, certainly // bounded). We can provide input blocks of any size (unbounded) // at the timestretcher's request. The input block for a given // output is approx output / ratio, but we can't predict it // exactly, for an adaptive timestretcher. The stretcher will - // need some additional buffer space. - - - + // need some additional buffer space. See the time stretcher code + // and comments. while ((available = ts->getAvailableOutputSamples()) < count) { diff -r ca1e3f5657d5 -r 4253ad318db5 icons/spectrum.png Binary file icons/spectrum.png has changed diff -r ca1e3f5657d5 -r 4253ad318db5 sonic-visualiser.qrc --- a/sonic-visualiser.qrc Fri Oct 13 12:51:05 2006 +0000 +++ b/sonic-visualiser.qrc Mon Oct 16 13:13:57 2006 +0000 @@ -1,6 +1,7 @@ icons/waveform.png + icons/spectrum.png icons/spectrogram.png icons/timeruler.png icons/pane.png