From 91821ccd8c26ea0db1893f5fa07a86694343e833 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 19 Mar 2012 09:08:59 -0700 Subject: [PATCH] Add the sound stream to the thread after resetting the mIsFinished flag --- apps/openmw/mwsound/openal_output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwsound/openal_output.cpp b/apps/openmw/mwsound/openal_output.cpp index 084c269ddd..468c1565d7 100644 --- a/apps/openmw/mwsound/openal_output.cpp +++ b/apps/openmw/mwsound/openal_output.cpp @@ -213,8 +213,8 @@ void OpenAL_SoundStream::play() alSourcePlay(mSource); throwALerror(); - mOutput.mStreamThread->add(this); mIsFinished = false; + mOutput.mStreamThread->add(this); } void OpenAL_SoundStream::stop()