Mercurial > hg > sonic-visualiser
changeset 56:4253ad318db5
* Add spectrum icon
* Start range mapper class for use in mapping between e.g. dial positions
and underlying values
author | Chris Cannam |
---|---|
date | Mon, 16 Oct 2006 13:13:57 +0000 |
parents | ca1e3f5657d5 |
children | 684b17ff7fee |
files | audioio/AudioCallbackPlaySource.cpp icons/spectrum.png sonic-visualiser.qrc |
diffstat | 3 files changed, 3 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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) {
--- 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 @@ <!DOCTYPE RCC><RCC version="1.0"> <qresource> <file>icons/waveform.png</file> + <file>icons/spectrum.png</file> <file>icons/spectrogram.png</file> <file>icons/timeruler.png</file> <file>icons/pane.png</file>