Mercurial > hg > svcore
comparison base/Preferences.h @ 1047:26cf6d5251ec cxx11
Further dedicated-types fixes
author | Chris Cannam |
---|---|
date | Tue, 10 Mar 2015 17:02:52 +0000 |
parents | cc27f35aa75c |
children | ba16388b937d |
comparison
equal
deleted
inserted
replaced
1046:2f49be7d4264 | 1047:26cf6d5251ec |
---|---|
65 bool getOmitTempsFromRecentFiles() const { return m_omitRecentTemps; } | 65 bool getOmitTempsFromRecentFiles() const { return m_omitRecentTemps; } |
66 | 66 |
67 QString getTemporaryDirectoryRoot() const { return m_tempDirRoot; } | 67 QString getTemporaryDirectoryRoot() const { return m_tempDirRoot; } |
68 | 68 |
69 /// If we should always resample audio to the same rate, return it; otherwise (the normal case) return 0 | 69 /// If we should always resample audio to the same rate, return it; otherwise (the normal case) return 0 |
70 int getFixedSampleRate() const { return m_fixedSampleRate; } | 70 sv_samplerate_t getFixedSampleRate() const { return m_fixedSampleRate; } |
71 | 71 |
72 /// True if we should resample second or subsequent audio file to match first audio file's rate | 72 /// True if we should resample second or subsequent audio file to match first audio file's rate |
73 bool getResampleOnLoad() const { return m_resampleOnLoad; } | 73 bool getResampleOnLoad() const { return m_resampleOnLoad; } |
74 | 74 |
75 /// True if audio files should be loaded with normalisation (max == 1) | 75 /// True if audio files should be loaded with normalisation (max == 1) |
114 void setPropertyBoxLayout(PropertyBoxLayout layout); | 114 void setPropertyBoxLayout(PropertyBoxLayout layout); |
115 void setWindowType(WindowType type); | 115 void setWindowType(WindowType type); |
116 void setResampleQuality(int quality); | 116 void setResampleQuality(int quality); |
117 void setOmitTempsFromRecentFiles(bool omit); | 117 void setOmitTempsFromRecentFiles(bool omit); |
118 void setTemporaryDirectoryRoot(QString tempDirRoot); | 118 void setTemporaryDirectoryRoot(QString tempDirRoot); |
119 void setFixedSampleRate(int); | 119 void setFixedSampleRate(sv_samplerate_t); |
120 void setResampleOnLoad(bool); | 120 void setResampleOnLoad(bool); |
121 void setNormaliseAudio(bool); | 121 void setNormaliseAudio(bool); |
122 void setBackgroundMode(BackgroundMode mode); | 122 void setBackgroundMode(BackgroundMode mode); |
123 void setTimeToTextMode(TimeToTextMode mode); | 123 void setTimeToTextMode(TimeToTextMode mode); |
124 void setShowHMS(bool show); | 124 void setShowHMS(bool show); |
151 PropertyBoxLayout m_propertyBoxLayout; | 151 PropertyBoxLayout m_propertyBoxLayout; |
152 WindowType m_windowType; | 152 WindowType m_windowType; |
153 int m_resampleQuality; | 153 int m_resampleQuality; |
154 bool m_omitRecentTemps; | 154 bool m_omitRecentTemps; |
155 QString m_tempDirRoot; | 155 QString m_tempDirRoot; |
156 int m_fixedSampleRate; | 156 sv_samplerate_t m_fixedSampleRate; |
157 bool m_resampleOnLoad; | 157 bool m_resampleOnLoad; |
158 bool m_normaliseAudio; | 158 bool m_normaliseAudio; |
159 int m_viewFontSize; | 159 int m_viewFontSize; |
160 BackgroundMode m_backgroundMode; | 160 BackgroundMode m_backgroundMode; |
161 TimeToTextMode m_timeToTextMode; | 161 TimeToTextMode m_timeToTextMode; |