diff options
author | Strangerke | 2017-01-03 16:26:15 -0800 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-25 22:42:20 +0100 |
commit | d748674193551d7815a98c6332b81761bcc0270f (patch) | |
tree | e83fd50ae7e03b67e436e96508e0b3cfbf83639a /engines/cryo/sound.cpp | |
parent | b669a704e2c4bf13894f2729fbd8c63bdebba082 (diff) | |
download | scummvm-rg350-d748674193551d7815a98c6332b81761bcc0270f.tar.gz scummvm-rg350-d748674193551d7815a98c6332b81761bcc0270f.tar.bz2 scummvm-rg350-d748674193551d7815a98c6332b81761bcc0270f.zip |
CRYO: Rename sound_t
Diffstat (limited to 'engines/cryo/sound.cpp')
-rw-r--r-- | engines/cryo/sound.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/cryo/sound.cpp b/engines/cryo/sound.cpp index 597f05e7c8..279e237454 100644 --- a/engines/cryo/sound.cpp +++ b/engines/cryo/sound.cpp @@ -77,7 +77,7 @@ SoundGroup::SoundGroup(CryoEngine *vm, int16 numSounds, int16 length, int16 samp error("SoundGroup - numSounds >= kCryoMaxClSounds");
for (int i = 0; i < _numSounds; i++) {
- _sounds[i] = new sound_t(length, rate, sampleSize, mode);
+ _sounds[i] = new Sound(length, rate, sampleSize, mode);
_sounds[i]->_maxLength = length;
}
_soundIndex = 0;
@@ -99,7 +99,7 @@ void SoundGroup::reverse16All() { // Original name: CLSoundGroup_GetNextBuffer
void *SoundGroup::getNextBuffer() {
- sound_t *sound = _sounds[_soundIndex];
+ Sound *sound = _sounds[_soundIndex];
if (_forceWait)
while (sound->_locked) ;
return sound->_sndHandle + sound->_headerLen;
@@ -107,7 +107,7 @@ void *SoundGroup::getNextBuffer() { // Original name: CLSoundGroup_AssignDatas
bool SoundGroup::assignDatas(void *buffer, int length, bool isSigned) {
- sound_t *sound = _sounds[_soundIndex];
+ Sound *sound = _sounds[_soundIndex];
if (_forceWait)
while (sound->_locked)
;
@@ -131,7 +131,7 @@ bool SoundGroup::assignDatas(void *buffer, int length, bool isSigned) { // Original name: CLSoundGroup_SetDatas
bool SoundGroup::setDatas(void *data, int length, bool isSigned) {
- sound_t *sound = _sounds[_soundIndex];
+ Sound *sound = _sounds[_soundIndex];
if (length >= sound->_maxLength)
error("CLSoundGroup_SetDatas - Unexpected length");
|