diff options
author | Strangerke | 2016-11-29 22:42:59 -0800 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-25 22:42:09 +0100 |
commit | f3bb961fec26c0cebf670383d2eaa0534f66c54a (patch) | |
tree | 0562bc9259f9a17c351462d0476c1f7064a8107d /engines/cryo/cryolib.h | |
parent | 878a3c85157a6d92a594cd7cc51bef9f61604a1b (diff) | |
download | scummvm-rg350-f3bb961fec26c0cebf670383d2eaa0534f66c54a.tar.gz scummvm-rg350-f3bb961fec26c0cebf670383d2eaa0534f66c54a.tar.bz2 scummvm-rg350-f3bb961fec26c0cebf670383d2eaa0534f66c54a.zip |
CRYO: Turn soundgroup_t into a class
Diffstat (limited to 'engines/cryo/cryolib.h')
-rw-r--r-- | engines/cryo/cryolib.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/engines/cryo/cryolib.h b/engines/cryo/cryolib.h index 5470d2871d..aa23e3d3f3 100644 --- a/engines/cryo/cryolib.h +++ b/engines/cryo/cryolib.h @@ -146,17 +146,6 @@ struct sound_t { }; typedef struct sound_t sound_t; -#define kCryoMaxClSounds 64 - -struct soundgroup_t { - sound_t *_sounds[kCryoMaxClSounds]; - int16 _numSounds; - int16 _soundIndex; - int16 _playIndex; - bool _forceWait; -}; -typedef struct soundgroup_t soundgroup_t; - #define kCryoMaxChSounds 10 struct soundchannel_t { @@ -173,14 +162,6 @@ struct soundchannel_t { }; typedef struct soundchannel_t soundchannel_t; -soundgroup_t *CLSoundGroup_New(int16 numSounds, int16 length, int16 sampleSize, float rate, int16 mode); -void CLSoundGroup_Free(soundgroup_t *sg); -void CLSoundGroup_Reverse16All(soundgroup_t *sg); -void *CLSoundGroup_GetNextBuffer(soundgroup_t *sg); -bool CLSoundGroup_AssignDatas(soundgroup_t *sg, void *buffer, int length, bool isSigned); -bool CLSoundGroup_SetDatas(soundgroup_t *sg, void *data, int length, bool isSigned); -void CLSoundGroup_PlayNextSample(soundgroup_t *sg, soundchannel_t *ch); - sound_t *CLSoundRaw_New(int16 length, float rate, int16 sampleSize, int16 mode); void CLSoundRaw_Free(sound_t *sound); void CLSoundRaw_AssignBuffer(sound_t *sound, void *buffer, int bufferOffs, int length); |