diff options
author | Aki <please@ignore.pl> | 2022-03-27 22:11:07 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-27 22:11:07 +0200 |
commit | 1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8 (patch) | |
tree | 3b31cdfcefe051a9a31972703b4d738812467abf /Stars45/SoundD3D.h | |
parent | 2ba515370864b85bd29b0d23083248c74a868691 (diff) | |
download | starshatter-1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8.zip starshatter-1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8.tar.gz starshatter-1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8.tar.bz2 |
Replaced ThreadSync with stl's mutex
Diffstat (limited to 'Stars45/SoundD3D.h')
-rw-r--r-- | Stars45/SoundD3D.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Stars45/SoundD3D.h b/Stars45/SoundD3D.h index b103302..a667182 100644 --- a/Stars45/SoundD3D.h +++ b/Stars45/SoundD3D.h @@ -14,11 +14,12 @@ #ifndef SoundD3D_h #define SoundD3D_h +#include <mutex> + //#define DIRECT_SOUND_3D #include "SoundCard.h" #include "Sound.h" #include "Camera.h" -#include "ThreadSync.h" #include <stdio.h> #include <dsound.h> #include "vorbis/vorbisfile.h" @@ -107,7 +108,7 @@ protected: BYTE eos_latch; bool moved; - ThreadSync sync; + std::mutex sync; OggVorbis_File* ov_file; }; |