mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-30 08:35:52 -04: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