|
bool | isPlaying () const override |
|
bool | play (int track, int numLoops, int startFrame, int duration, bool onlyEmulate=false, Audio::Mixer::SoundType soundType=Audio::Mixer::kMusicSoundType) override |
|
void | stop () override |
|
virtual bool | open () |
|
virtual void | close () |
|
virtual bool | playAbsolute (int startFrame, int numLoops, int duration, bool onlyEmulate=false, Audio::Mixer::SoundType soundType=Audio::Mixer::kMusicSoundType, const char *cuesheet="disc.cue") |
|
virtual void | setVolume (byte volume) |
|
virtual void | setBalance (int8 balance) |
|
virtual void | update () |
|
virtual Status | getStatus () const |
|
virtual bool | existExtractedCDAudioFiles (uint track) |
|
virtual bool | isDataAndCDAudioReadFromSameCD () |
|
◆ isPlaying()
bool DCCDManager::isPlaying |
( |
| ) |
const |
|
overridevirtual |
Get if audio is being played.
- Returns
- true if CD audio is playing
Reimplemented from DefaultAudioCDManager.
◆ play()
Start audio CD playback
- Parameters
-
track | the track to play. |
numLoops | how often playback should be repeated (<=0 means infinitely often). |
startFrame | the frame at which playback should start (75 frames = 1 second). |
duration | the number of frames to play. |
onlyEmulate | determines if the track should be emulated only |
soundType | What sound type to play as. By default, it's as music |
- Note
- The
onlyEmulate
parameter is deprecated.
- Returns
true
if the track started playing, false
otherwise
Reimplemented from DefaultAudioCDManager.
◆ stop()
void DCCDManager::stop |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- backends/platform/dc/dc.h