I hope this fixes speech in demo

svn-id: r15534
This commit is contained in:
Robert Göffringmann 2004-10-13 00:59:27 +00:00
parent 3842898a3e
commit e2917b1664

View file

@ -168,7 +168,7 @@ bool Sound::startSpeech(uint16 roomNo, uint16 localNo) {
if (sampleSize) { if (sampleSize) {
uint8 speechVol = (_speechVolR + _speechVolL) / 2; uint8 speechVol = (_speechVolR + _speechVolL) / 2;
int8 speechPan = (_speechVolR - _speechVolL) / 2; int8 speechPan = (_speechVolR - _speechVolL) / 2;
if (_cowMode == CowWave) { if ((_cowMode == CowWave) || (_cowMode == CowDemo)) {
uint32 size; uint32 size;
int16 *data = uncompressSpeech(index + _cowHeaderSize, sampleSize, &size); int16 *data = uncompressSpeech(index + _cowHeaderSize, sampleSize, &size);
if (data) if (data)