Fixed buffer underrun handling in MixSDL (bug #211)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@919 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Changes towards version 0.3:
|
||||
- Fixed MixSDL buffer underrun handling (bug #211) -Mika
|
||||
- Fix issue with caps lock and num lock preventing planet scan
|
||||
and lander message skipping (bug #299), from chmmravatar
|
||||
- Subtitles are now hidden after alien has finished talking (bug #312),
|
||||
|
||||
@@ -672,7 +672,11 @@ mixSDL_SourcePlay (mixSDL_Object srcobj)
|
||||
else /* should make the source active */
|
||||
{
|
||||
if (src->state < MIX_PLAYING)
|
||||
{
|
||||
if (src->firstqueued && !src->nextqueued)
|
||||
mixSDL_SourceRewind_internal (src);
|
||||
mixSDL_SourceActivate (src);
|
||||
}
|
||||
src->state = MIX_PLAYING;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user