diff options
author | Robert Göffringmann | 2003-12-21 15:55:55 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-12-21 15:55:55 +0000 |
commit | 71057255eac588e04fb611ecd423ceb9bc17d045 (patch) | |
tree | 1ed90c16f8e06cd8295044d497962c7dac5a72f1 /sword1/sound.h | |
parent | e7cf0557f83d1e93621d1d9830d8a5e4d3fbeabb (diff) | |
download | scummvm-rg350-71057255eac588e04fb611ecd423ceb9bc17d045.tar.gz scummvm-rg350-71057255eac588e04fb611ecd423ceb9bc17d045.tar.bz2 scummvm-rg350-71057255eac588e04fb611ecd423ceb9bc17d045.zip |
changed speech code, should now play all waves correctly
svn-id: r11815
Diffstat (limited to 'sword1/sound.h')
-rw-r--r-- | sword1/sound.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword1/sound.h b/sword1/sound.h index 0f1510dc32..340a54b6ef 100644 --- a/sword1/sound.h +++ b/sword1/sound.h @@ -75,8 +75,8 @@ private: void playSample(QueueElement *elem); void initCowSystem(void); void closeCowSystem(void); - uint32 uncompressedSize(uint8 *data); - uint32 expandSpeech(void *src, void *dest, uint32 srcSize); + + int16 *uncompressSpeech(uint32 index, uint32 cSize, uint32 *size); File _cowFile; uint32 *_cowHeader; uint32 _cowHeaderSize; |