I hope this fixes speech in demo
svn-id: r15534
This commit is contained in:
parent
3842898a3e
commit
e2917b1664
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue