diff options
author | Max Horn | 2004-01-03 14:10:13 +0000 |
---|---|---|
committer | Max Horn | 2004-01-03 14:10:13 +0000 |
commit | bfea71b0c46ea93b80ee2f6f08ba29ba8768171a (patch) | |
tree | 734b6137e4aaaa043d5db905dc67700bcdc7daa4 /sound/mp3.cpp | |
parent | 2a6745a9862fc067a7b529feec0943ec56c79c7c (diff) | |
download | scummvm-rg350-bfea71b0c46ea93b80ee2f6f08ba29ba8768171a.tar.gz scummvm-rg350-bfea71b0c46ea93b80ee2f6f08ba29ba8768171a.tar.bz2 scummvm-rg350-bfea71b0c46ea93b80ee2f6f08ba29ba8768171a.zip |
renamed AudioInputStream -> AudioStream
svn-id: r12110
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 6c74c27d7f..1784300aae 100644 --- a/sound/mp3.cpp +++ b/sound/mp3.cpp @@ -37,7 +37,7 @@ #pragma mark - -class MP3InputStream : public AudioInputStream { +class MP3InputStream : public AudioStream { struct mad_stream _stream; struct mad_frame _frame; struct mad_synth _synth; @@ -261,7 +261,7 @@ int MP3InputStream::readBuffer(int16 *buffer, const int numSamples) { return samples; } -AudioInputStream *makeMP3Stream(File *file, uint size) { +AudioStream *makeMP3Stream(File *file, uint size) { return new MP3InputStream(file, mad_timer_zero, size); } @@ -376,7 +376,7 @@ void MP3TrackInfo::play(SoundMixer *mixer, PlayingSoundHandle *handle, int start } // Play it - AudioInputStream *input = new MP3InputStream(_file, durationTime, 0); + AudioStream *input = new MP3InputStream(_file, durationTime, 0); mixer->playInputStream(handle, input, true); } |