diff options
author | Max Horn | 2005-05-10 23:48:48 +0000 |
---|---|---|
committer | Max Horn | 2005-05-10 23:48:48 +0000 |
commit | 1a615346abab8f234c3dbd1c55e78b179bca9d87 (patch) | |
tree | f687ac73ffbfa29088a403b6311bb4db13265fde /sound/mp3.cpp | |
parent | 72f4c03b0b9a6918a359b967ebc400a2701981d9 (diff) | |
download | scummvm-rg350-1a615346abab8f234c3dbd1c55e78b179bca9d87.tar.gz scummvm-rg350-1a615346abab8f234c3dbd1c55e78b179bca9d87.tar.bz2 scummvm-rg350-1a615346abab8f234c3dbd1c55e78b179bca9d87.zip |
Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
svn-id: r18039
Diffstat (limited to 'sound/mp3.cpp')
-rw-r--r-- | sound/mp3.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/mp3.cpp b/sound/mp3.cpp index 3028c22421..8638e3265f 100644 --- a/sound/mp3.cpp +++ b/sound/mp3.cpp @@ -288,7 +288,7 @@ public: MP3TrackInfo(File *file); ~MP3TrackInfo(); bool error() { return _error_flag; } - void play(SoundMixer *mixer, SoundHandle *handle, int startFrame, int duration); + void play(Audio::Mixer *mixer, SoundHandle *handle, int startFrame, int duration); }; @@ -363,7 +363,7 @@ error: delete file; } -void MP3TrackInfo::play(SoundMixer *mixer, SoundHandle *handle, int startFrame, int duration) { +void MP3TrackInfo::play(Audio::Mixer *mixer, SoundHandle *handle, int startFrame, int duration) { unsigned int offset; mad_timer_t durationTime; @@ -383,7 +383,7 @@ void MP3TrackInfo::play(SoundMixer *mixer, SoundHandle *handle, int startFrame, // Play it AudioStream *input = new MP3InputStream(_file, durationTime); - mixer->playInputStream(SoundMixer::kMusicSoundType, handle, input); + mixer->playInputStream(Audio::Mixer::kMusicSoundType, handle, input); } MP3TrackInfo::~MP3TrackInfo() { |