Minor addition to GetSoundData
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@378 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -284,6 +284,11 @@ GetSoundData (void *data)
|
|||||||
//fprintf (stderr, "GetSoundData(): something's messed with timing, delta %d\n", delta);
|
//fprintf (stderr, "GetSoundData(): something's messed with timing, delta %d\n", delta);
|
||||||
delta = 0;
|
delta = 0;
|
||||||
}
|
}
|
||||||
|
else if (delta > soundSource[SPEECH_SOURCE].sbuf_size * 2)
|
||||||
|
{
|
||||||
|
//fprintf (stderr, "GetSoundData(): something's messed with timing, delta %d\n", delta);
|
||||||
|
delta = 0;
|
||||||
|
}
|
||||||
|
|
||||||
//fprintf (stderr, "played_data %d total_decoded %d delta %d\n", played_data, soundSource[SPEECH_SOURCE].total_decoded, delta);
|
//fprintf (stderr, "played_data %d total_decoded %d delta %d\n", played_data, soundSource[SPEECH_SOURCE].total_decoded, delta);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user