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:
gewlitys
2003-04-21 01:18:12 +00:00
parent c5ca80a329
commit 1d68ed2cd5
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -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;
}