Mercurial > hg > svcore
comparison base/AudioPlaySource.h @ 40:b2d1a61ab916
* A bit more work on main window / document / commands stuff. This is still
pretty unstable.
* Enable CSV file reader also to read files with other separators (e.g. .lab
files with space separators)
* Show "(R)" on waveform display when resampling during playback
* Add ability to import additional audio files (can't process them yet)
* Fixes to spectrogram cache for multiple views
* Fix to avoid floating-point exception in sparse model when resolution not
set yet
author | Chris Cannam |
---|---|
date | Mon, 06 Mar 2006 17:20:25 +0000 |
parents | 070e9e1e40ea |
children | 39ae3dee27b9 |
comparison
equal
deleted
inserted
replaced
39:e1a0cf2dcc79 | 40:b2d1a61ab916 |
---|---|
48 /** | 48 /** |
49 * Return the current (or thereabouts) output levels in the range | 49 * Return the current (or thereabouts) output levels in the range |
50 * 0.0 -> 1.0, for metering purposes. | 50 * 0.0 -> 1.0, for metering purposes. |
51 */ | 51 */ |
52 virtual bool getOutputLevels(float &left, float &right) = 0; | 52 virtual bool getOutputLevels(float &left, float &right) = 0; |
53 | |
54 /** | |
55 * Return the sample rate set by the target audio device (or the | |
56 * source sample rate if the target hasn't set one). | |
57 */ | |
58 virtual size_t getTargetSampleRate() const = 0; | |
53 }; | 59 }; |
54 | 60 |
55 #endif | 61 #endif |