Fixed intermittent crash if conversing with music disabled
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2959 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -850,7 +850,7 @@ GetSoundData (void *data)
|
||||
|
||||
// Using step of 1 sample at 11025Hz, because the human speech
|
||||
// is mostly in the low frequencies
|
||||
step = soundSource[MUSIC_SOURCE].sample->decoder->frequency * 2 / 11025;
|
||||
step = soundSource[SPEECH_SOURCE].sample->decoder->frequency * 2 / 11025;
|
||||
step = (step + 1) & ~1;
|
||||
|
||||
if (delta < 0)
|
||||
|
||||
Reference in New Issue
Block a user