mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Use a recursive mutex for the OpenAL stream thread
This commit is contained in:
parent
ba9c5f5b4e
commit
f067b22b3f
@ -125,7 +125,7 @@ const ALfloat OpenAL_SoundStream::sBufferLength = 0.125f;
|
|||||||
struct OpenAL_Output::StreamThread {
|
struct OpenAL_Output::StreamThread {
|
||||||
typedef std::vector<OpenAL_SoundStream*> StreamVec;
|
typedef std::vector<OpenAL_SoundStream*> StreamVec;
|
||||||
StreamVec mStreams;
|
StreamVec mStreams;
|
||||||
boost::mutex mMutex;
|
boost::recursive_mutex mMutex;
|
||||||
boost::thread mThread;
|
boost::thread mThread;
|
||||||
|
|
||||||
StreamThread()
|
StreamThread()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user