comparison base/AudioPlaySource.h @ 1338:8541563f1fd3 3.0-integration

Wire up record monitoring
author Chris Cannam
date Wed, 04 Jan 2017 16:03:12 +0000
parents ca43c4b7719c
children 618326c4ce4b
comparison
equal deleted inserted replaced
1337:3dcd83595bc8 1338:8541563f1fd3
11 published by the Free Software Foundation; either version 2 of the 11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file 12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information. 13 COPYING included with this distribution for more information.
14 */ 14 */
15 15
16 #ifndef _AUDIO_PLAY_SOURCE_H_ 16 #ifndef SV_AUDIO_PLAY_SOURCE_H
17 #define _AUDIO_PLAY_SOURCE_H_ 17 #define SV_AUDIO_PLAY_SOURCE_H
18 18
19 #include "BaseTypes.h" 19 #include "BaseTypes.h"
20 20
21 struct Auditionable { 21 struct Auditionable {
22 virtual ~Auditionable() { } 22 virtual ~Auditionable() { }
57 */ 57 */
58 virtual sv_frame_t getCurrentPlayingFrame() = 0; 58 virtual sv_frame_t getCurrentPlayingFrame() = 0;
59 59
60 /** 60 /**
61 * Return the current (or thereabouts) output levels in the range 61 * Return the current (or thereabouts) output levels in the range
62 * 0.0 -> 1.0, for metering purposes. 62 * 0.0 -> 1.0, for metering purposes. The values returned are
63 * peak values since the last call to this function was made
64 * (i.e. calling this function also resets them).
63 */ 65 */
64 virtual bool getOutputLevels(float &left, float &right) = 0; 66 virtual bool getOutputLevels(float &left, float &right) = 0;
65 67
66 /** 68 /**
67 * Return the sample rate of the source material -- any material 69 * Return the sample rate of the source material -- any material