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 /sound/mixer.h | |
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 'sound/mixer.h')
-rw-r--r-- | sound/mixer.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/mixer.h b/sound/mixer.h index b75edcb4b0..aef5602c03 100644 --- a/sound/mixer.h +++ b/sound/mixer.h @@ -71,11 +71,11 @@ public: }; enum SoundType { - kPlainAudioDataType = 0, + kPlainSoundType = 0, - kMusicAudioDataType = 1, - kSFXAudioDataType = 2, - kSpeechAudioDataType = 3 + kMusicSoundType = 1, + kSFXSoundType = 2, + kSpeechSoundType = 3 }; enum { @@ -126,7 +126,7 @@ public: * is not limited to it. The premix stream is invoked by the mixer whenever * it needs to generate any data, before any other mixing takes place. */ - void setupPremix(AudioStream *stream, SoundType type = kPlainAudioDataType); + void setupPremix(AudioStream *stream, SoundType type = kPlainSoundType); @@ -140,7 +140,7 @@ public: void *sound, uint32 size, uint rate, byte flags, int id = -1, byte volume = 255, int8 balance = 0, uint32 loopStart = 0, uint32 loopEnd = 0, - SoundType type = kSFXAudioDataType); + SoundType type = kSFXSoundType); /** * Start playing the given audio input stream. @@ -245,7 +245,7 @@ public: /** * Check whether any channel of the given sound type is active. * For example, this can be used to check whether any SFX sound - * is currently playing, by checking for type kSFXAudioDataType. + * is currently playing, by checking for type kSFXSoundType. * * @param type the sound type to look for * @return true if any channels of the specified type are active. |