diff options
author | Willem Jan Palenstijn | 2009-01-24 01:29:52 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-01-24 01:29:52 +0000 |
commit | a8ae95cc10ce05329ca9d4c48fcfb06f615de58b (patch) | |
tree | 23097f1fdd2814a22b4182afaa7132dd66046edc /sound/audiocd.h | |
parent | de341291aa068d7ad2bb6e11c62b98f3e3120552 (diff) | |
download | scummvm-rg350-a8ae95cc10ce05329ca9d4c48fcfb06f615de58b.tar.gz scummvm-rg350-a8ae95cc10ce05329ca9d4c48fcfb06f615de58b.tar.bz2 scummvm-rg350-a8ae95cc10ce05329ca9d4c48fcfb06f615de58b.zip |
fixing #2531282: don't fall back to a real audio CD when playing enhanced midi tracks
svn-id: r36030
Diffstat (limited to 'sound/audiocd.h')
-rw-r--r-- | sound/audiocd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/audiocd.h b/sound/audiocd.h index ced5410a1f..4c4ff26147 100644 --- a/sound/audiocd.h +++ b/sound/audiocd.h @@ -53,8 +53,9 @@ public: * @param num_loops how often playback should be repeated (-1 = infinitely often). * @param start_frame the frame at which playback should start (75 frames = 1 second). * @param duration the number of frames to play (0: play until end) + * @param only_emulate if true, don't try to play from a real CD */ - void play(int track, int numLoops, int startFrame, int duration); + void play(int track, int numLoops, int startFrame, int duration, bool only_emulate = false); void stop(); bool isPlaying() const; |