diff options
author | Max Horn | 2005-03-09 18:12:54 +0000 |
---|---|---|
committer | Max Horn | 2005-03-09 18:12:54 +0000 |
commit | 0ec193b4be4113ccbc24f26f7bb4cefc3e3d6a41 (patch) | |
tree | 16bc04d5b5ddc5945cf14bccb7ce53406aba0807 /saga/music.cpp | |
parent | 13b8f678fc0ee6ab14e3264c58e858061fe625fd (diff) | |
download | scummvm-rg350-0ec193b4be4113ccbc24f26f7bb4cefc3e3d6a41.tar.gz scummvm-rg350-0ec193b4be4113ccbc24f26f7bb4cefc3e3d6a41.tar.bz2 scummvm-rg350-0ec193b4be4113ccbc24f26f7bb4cefc3e3d6a41.zip |
changing AudioDataType -> SoundType, so now the constant names match the name of the data type / the SoundMixer method names
svn-id: r17052
Diffstat (limited to 'saga/music.cpp')
-rw-r--r-- | saga/music.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/saga/music.cpp b/saga/music.cpp index 956bdaedae..d58c39676f 100644 --- a/saga/music.cpp +++ b/saga/music.cpp @@ -295,7 +295,7 @@ void MusicPlayer::stopMusic() { Music::Music(SoundMixer *mixer, MidiDriver *driver, int enabled) : _mixer(mixer), _enabled(enabled), _adlib(false) { _player = new MusicPlayer(driver); _musicInitialized = 1; - _mixer->setVolumeForSoundType(SoundMixer::kMusicAudioDataType, ConfMan.getInt("music_volume")); + _mixer->setVolumeForSoundType(SoundMixer::kMusicSoundType, ConfMan.getInt("music_volume")); if (_vm->getGameType() == GType_ITE) { File file; @@ -448,7 +448,7 @@ int Music::play(uint32 music_rn, uint16 flags) { if (audioStream) { debug(0, "Playing digitized music"); - _mixer->playInputStream(SoundMixer::kMusicAudioDataType, &_musicHandle, audioStream); + _mixer->playInputStream(SoundMixer::kMusicSoundType, &_musicHandle, audioStream); return SUCCESS; } |