From a2217e35ff440f1d24c1cbd673f8f77b0d9a2663 Mon Sep 17 00:00:00 2001 From: James Brown Date: Mon, 22 Apr 2002 11:36:41 +0000 Subject: Fix MP3 compilation. svn-id: r4050 --- sound/mixer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sound/mixer.cpp') diff --git a/sound/mixer.cpp b/sound/mixer.cpp index f27910d17d..5961a4f02a 100644 --- a/sound/mixer.cpp +++ b/sound/mixer.cpp @@ -61,8 +61,8 @@ int SoundMixer::play_raw(PlayingSoundHandle *handle, void *sound, uint32 size, u } #ifdef COMPRESSED_SOUND_FILE -void SoundMixer::play_mp3(PlayingSoundHandle *handle, void *sound, uint32 size, byte flags) { - insert(handle, new Channel_MP3(this, sound, size, flags)); +int SoundMixer::play_mp3(PlayingSoundHandle *handle, void *sound, uint32 size, byte flags) { + return insert(handle, new Channel_MP3(this, sound, size, flags)); } void SoundMixer::play_mp3_cdtrack(PlayingSoundHandle *handle, FILE* file, void *buffer, uint32 buffer_size, mad_timer_t duration) { if (*handle) -- cgit v1.2.3