diff options
Diffstat (limited to 'sound/mp3.h')
-rw-r--r-- | sound/mp3.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sound/mp3.h b/sound/mp3.h index fd5be63387..bc19deca24 100644 --- a/sound/mp3.h +++ b/sound/mp3.h @@ -22,11 +22,17 @@ #ifndef SOUND_MP3_H #define SOUND_MP3_H +#include "stdafx.h" +#include "common/scummsys.h" + +#ifdef USE_MAD + #include "sound/audiocd.h" +#include <mad.h> +class AudioInputStream; class File; -#ifdef USE_MAD class MP3TrackInfo : public DigitalTrackInfo { private: struct mad_header _mad_header; @@ -40,8 +46,9 @@ public: bool error() { return _error_flag; } int play(SoundMixer *mixer, PlayingSoundHandle *handle, int startFrame, int duration); }; -#endif +AudioInputStream *makeMP3Stream(File *file, mad_timer_t duration, uint size = 0); +#endif #endif |