Mercurial > hg > svgui
comparison view/ViewManager.h @ 1181:e0ac21f07ab0 bqresample
Fixes to sample rate and latency handling
author | Chris Cannam |
---|---|
date | Fri, 09 Dec 2016 14:40:49 +0000 |
parents | a1226b3b7925 |
children | efc7586de499 |
comparison
equal
deleted
inserted
replaced
1173:db90fee630bc | 1181:e0ac21f07ab0 |
---|---|
170 sv_samplerate_t getPlaybackSampleRate() const; | 170 sv_samplerate_t getPlaybackSampleRate() const; |
171 | 171 |
172 /** | 172 /** |
173 * The sample rate of the audio output device. If the playback | 173 * The sample rate of the audio output device. If the playback |
174 * sample rate differs from this, everything will be resampled at | 174 * sample rate differs from this, everything will be resampled at |
175 * the output stage. | 175 * the output stage (but not before). |
176 */ | 176 */ |
177 sv_samplerate_t getOutputSampleRate() const; | 177 sv_samplerate_t getDeviceSampleRate() const; |
178 | 178 |
179 /** | 179 /** |
180 * The sample rate of the current main model. This may in theory | 180 * The sample rate of the current main model. This may in theory |
181 * differ from the playback sample rate, in which case even the | 181 * differ from the playback sample rate, in which case even the |
182 * main model will play at the wrong speed. | 182 * main model will play at the wrong speed. |