Mercurial > hg > svgui
comparison view/ViewManager.h @ 224:9465b5375235
* Fix #1672407 confused by plugin-named files in cwd (or home?)
* Fix #1491848 crash when loading new file while transform plugin runs
* Fix #1502287 Background remains black after spectrogram layer deleted
* Fix #1604477 Replacing the main audio file silences secondary audio file
* Fix failure to initialise property box layout to last preference on startup
* Fix resample/wrong-rate display in Pane, ensure that right rate is chosen
if all current models have an acceptable rate even if previous main model
had a different one
* Fix "global zoom" broken in previous commit
* Some fixes to spectrogram cache area updating (makes spectrogram appear
more quickly, previously it had a tendency to refresh with empty space)
* Fixes to colour 3d plot normalization
author | Chris Cannam |
---|---|
date | Thu, 08 Mar 2007 16:53:08 +0000 |
parents | cd81066ac7ad |
children | 1ab41ee36952 |
comparison
equal
deleted
inserted
replaced
223:403bfb88d8d6 | 224:9465b5375235 |
---|---|
100 void setPlayLoopMode(bool on); | 100 void setPlayLoopMode(bool on); |
101 | 101 |
102 bool getPlaySelectionMode() const { return m_playSelectionMode; } | 102 bool getPlaySelectionMode() const { return m_playSelectionMode; } |
103 void setPlaySelectionMode(bool on); | 103 void setPlaySelectionMode(bool on); |
104 | 104 |
105 /** | |
106 * The sample rate that is used for playback. This is usually the | |
107 * rate of the main model, but not always. Models whose rates | |
108 * differ from this will play back at the wrong speed -- there is | |
109 * no per-model resampler. | |
110 */ | |
105 size_t getPlaybackSampleRate() const; | 111 size_t getPlaybackSampleRate() const; |
112 | |
113 /** | |
114 * The sample rate of the audio output device. If the playback | |
115 * sample rate differs from this, everything will be resampled at | |
116 * the output stage. | |
117 */ | |
118 size_t getOutputSampleRate() const; | |
119 | |
120 /** | |
121 * The sample rate of the current main model. This may in theory | |
122 * differ from the playback sample rate, in which case even the | |
123 * main model will play at the wrong speed. | |
124 */ | |
106 size_t getMainModelSampleRate() const { return m_mainModelSampleRate; } | 125 size_t getMainModelSampleRate() const { return m_mainModelSampleRate; } |
126 | |
107 void setMainModelSampleRate(size_t sr) { m_mainModelSampleRate = sr; } | 127 void setMainModelSampleRate(size_t sr) { m_mainModelSampleRate = sr; } |
108 | 128 |
109 enum OverlayMode { | 129 enum OverlayMode { |
110 NoOverlays, | 130 NoOverlays, |
111 MinimalOverlays, | 131 MinimalOverlays, |