22 #ifndef BACKENDS_AUDIOCD_ABSTRACT_H 23 #define BACKENDS_AUDIOCD_ABSTRACT_H 25 #include "audio/mixer.h" 26 #include "common/scummsys.h" 27 #include "common/noncopyable.h" 54 virtual bool open() = 0;
59 virtual void close() = 0;
72 virtual bool play(
int track,
int numLoops,
int startFrame,
int duration,
bool onlyEmulate =
false,
86 virtual bool playAbsolute(
int startFrame,
int numLoops,
int duration,
bool onlyEmulate =
false,
108 virtual void stop() = 0;
113 virtual void update() = 0;
virtual bool playAbsolute(int startFrame, int numLoops, int duration, bool onlyEmulate=false, Audio::Mixer::SoundType soundType=Audio::Mixer::kMusicSoundType, const char *cuesheet="disc.cue")=0
virtual bool existExtractedCDAudioFiles(uint track)=0
Definition: noncopyable.h:39
virtual bool play(int track, int numLoops, int startFrame, int duration, bool onlyEmulate=false, Audio::Mixer::SoundType soundType=Audio::Mixer::kMusicSoundType)=0
SoundType
Definition: mixer.h:62
virtual void setBalance(int8 balance)=0
virtual bool isPlaying() const =0
virtual Status getStatus() const =0
virtual void setVolume(byte volume)=0
virtual bool isDataAndCDAudioReadFromSameCD()=0