aboutsummaryrefslogtreecommitdiff
path: root/engines/cryo/cryolib.h
diff options
context:
space:
mode:
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);