Mercurial > hg > svcore
diff base/Preferences.h @ 164:da3701a3953e
* Make resampler quality configurable
* Fall back to linear resampling when playing very fast
* Switch off transient detection in time stretcher when playing very very fast
author | Chris Cannam |
---|---|
date | Thu, 21 Sep 2006 11:17:19 +0000 |
parents | 059b0322009c |
children | 91fdc752e540 |
line wrap: on
line diff
--- a/base/Preferences.h Mon Sep 18 16:43:17 2006 +0000 +++ b/base/Preferences.h Thu Sep 21 11:17:19 2006 +0000 @@ -38,6 +38,7 @@ bool getSmoothSpectrogram() const { return m_smoothSpectrogram; } float getTuningFrequency() const { return m_tuningFrequency; } WindowType getWindowType() const { return m_windowType; } + int getResampleQuality() const { return m_resampleQuality; } //!!! harmonise with PaneStack enum PropertyBoxLayout { @@ -53,6 +54,7 @@ void setTuningFrequency(float freq); void setPropertyBoxLayout(PropertyBoxLayout layout); void setWindowType(WindowType type); + void setResampleQuality(int quality); private: Preferences(); // may throw DirectoryCreationFailed @@ -64,6 +66,7 @@ float m_tuningFrequency; PropertyBoxLayout m_propertyBoxLayout; WindowType m_windowType; + int m_resampleQuality; }; #endif