aboutsummaryrefslogtreecommitdiff
path: root/engines/cryo/cryolib.h
diff options
context:
space:
mode:
authorStrangerke2017-01-03 16:26:15 -0800
committerEugene Sandulenko2017-01-25 22:42:20 +0100
commitd748674193551d7815a98c6332b81761bcc0270f (patch)
treee83fd50ae7e03b67e436e96508e0b3cfbf83639a /engines/cryo/cryolib.h
parentb669a704e2c4bf13894f2729fbd8c63bdebba082 (diff)
downloadscummvm-rg350-d748674193551d7815a98c6332b81761bcc0270f.tar.gz
scummvm-rg350-d748674193551d7815a98c6332b81761bcc0270f.tar.bz2
scummvm-rg350-d748674193551d7815a98c6332b81761bcc0270f.zip
CRYO: Rename sound_t
Diffstat (limited to 'engines/cryo/cryolib.h')
-rw-r--r--engines/cryo/cryolib.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/cryo/cryolib.h b/engines/cryo/cryolib.h
index e9e1cd631f..cad24020a2 100644
--- a/engines/cryo/cryolib.h
+++ b/engines/cryo/cryolib.h
@@ -136,7 +136,7 @@ struct hnm_t {
};
typedef struct hnm_t hnm_t;
-class sound_t {
+class Sound {
private:
int32 _headerOffset;
int16 _unused0A;
@@ -149,8 +149,8 @@ private:
int16 _volume;
public:
- sound_t(int16 length, float rate, int16 sampleSize, int16 mode);
- ~sound_t();
+ Sound(int16 length, float rate, int16 sampleSize, int16 mode);
+ ~Sound();
void assignBuffer(void *buffer, int bufferOffs, int length);
void prepareSample(int16 mode);
@@ -181,14 +181,14 @@ private:
int16 _volumeRight;
int16 _numSounds;
- sound_t *_sounds[kCryoMaxChSounds];
+ Sound *_sounds[kCryoMaxChSounds];
public:
SoundChannel(int arg1);
~SoundChannel();
void stop();
- void play(sound_t *sound);
+ void play(Sound *sound);
int16 getVolume();
void setVolume(int16 volume);
void setVolumeRight(int16 volume);