comparison base/Preferences.h @ 1225:ba16388b937d piper

Restore native-Vamp factory and make the choice between Piper and Native a preference
author Chris Cannam
date Fri, 21 Oct 2016 11:49:27 +0100
parents 26cf6d5251ec
children ff9697592bef
comparison
equal deleted inserted replaced
1224:ab050519c4ba 1225:ba16388b937d
51 SpectrogramXSmoothing getSpectrogramXSmoothing() const { return m_spectrogramXSmoothing; } 51 SpectrogramXSmoothing getSpectrogramXSmoothing() const { return m_spectrogramXSmoothing; }
52 double getTuningFrequency() const { return m_tuningFrequency; } 52 double getTuningFrequency() const { return m_tuningFrequency; }
53 WindowType getWindowType() const { return m_windowType; } 53 WindowType getWindowType() const { return m_windowType; }
54 int getResampleQuality() const { return m_resampleQuality; } 54 int getResampleQuality() const { return m_resampleQuality; }
55 55
56 bool getRunPluginsInProcess() const { return m_runPluginsInProcess; }
57
56 //!!! harmonise with PaneStack 58 //!!! harmonise with PaneStack
57 enum PropertyBoxLayout { 59 enum PropertyBoxLayout {
58 VerticallyStacked, 60 VerticallyStacked,
59 Layered 61 Layered
60 }; 62 };
112 void setSpectrogramXSmoothing(SpectrogramXSmoothing smoothing); 114 void setSpectrogramXSmoothing(SpectrogramXSmoothing smoothing);
113 void setTuningFrequency(double freq); 115 void setTuningFrequency(double freq);
114 void setPropertyBoxLayout(PropertyBoxLayout layout); 116 void setPropertyBoxLayout(PropertyBoxLayout layout);
115 void setWindowType(WindowType type); 117 void setWindowType(WindowType type);
116 void setResampleQuality(int quality); 118 void setResampleQuality(int quality);
119 void setRunPluginsInProcess(bool r);
117 void setOmitTempsFromRecentFiles(bool omit); 120 void setOmitTempsFromRecentFiles(bool omit);
118 void setTemporaryDirectoryRoot(QString tempDirRoot); 121 void setTemporaryDirectoryRoot(QString tempDirRoot);
119 void setFixedSampleRate(sv_samplerate_t); 122 void setFixedSampleRate(sv_samplerate_t);
120 void setResampleOnLoad(bool); 123 void setResampleOnLoad(bool);
121 void setNormaliseAudio(bool); 124 void setNormaliseAudio(bool);
149 SpectrogramXSmoothing m_spectrogramXSmoothing; 152 SpectrogramXSmoothing m_spectrogramXSmoothing;
150 double m_tuningFrequency; 153 double m_tuningFrequency;
151 PropertyBoxLayout m_propertyBoxLayout; 154 PropertyBoxLayout m_propertyBoxLayout;
152 WindowType m_windowType; 155 WindowType m_windowType;
153 int m_resampleQuality; 156 int m_resampleQuality;
157 bool m_runPluginsInProcess;
154 bool m_omitRecentTemps; 158 bool m_omitRecentTemps;
155 QString m_tempDirRoot; 159 QString m_tempDirRoot;
156 sv_samplerate_t m_fixedSampleRate; 160 sv_samplerate_t m_fixedSampleRate;
157 bool m_resampleOnLoad; 161 bool m_resampleOnLoad;
158 bool m_normaliseAudio; 162 bool m_normaliseAudio;