aboutsummaryrefslogtreecommitdiff
path: root/sound/mixer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/mixer.cpp')
-rw-r--r--sound/mixer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index 6f43a4c5f9..4c3e9ca277 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -269,6 +269,9 @@ void SoundMixer::playMP3CDTrack(PlayingSoundHandle *handle, File *file, mad_time
#endif
#ifdef USE_VORBIS
+void SoundMixer::playVorbis(PlayingSoundHandle *handle, File *file, uint32 size) {
+ playSfxSound_Vorbis(this, file, size, handle);
+}
void SoundMixer::playVorbis(PlayingSoundHandle *handle, OggVorbis_File *ov_file, int duration, bool is_cd_track, byte volume, int8 pan) {
// Create the input stream
AudioInputStream *input = makeVorbisStream(ov_file, duration);