16 #ifndef SV_AUDIO_PLAY_SOURCE_H 17 #define SV_AUDIO_PLAY_SOURCE_H 49 virtual void stop() = 0;
54 virtual bool isPlaying()
const = 0;
60 virtual sv_frame_t getCurrentPlayingFrame() = 0;
68 virtual bool getOutputLevels(
float &left,
float &right) = 0;
94 virtual int getTargetBlockSize()
const = 0;
102 virtual int getTargetChannelCount()
const = 0;
110 virtual void setAuditioningEffect(std::shared_ptr<Auditionable>) = 0;
double sv_samplerate_t
Sample rate.
Simple interface for audio playback.
int64_t sv_frame_t
Frame index, the unit of our time axis.
virtual ~AudioPlaySource()