From 1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 27 Mar 2022 22:11:07 +0200 Subject: Replaced ThreadSync with stl's mutex --- Stars45/SoundD3D.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Stars45/SoundD3D.h') 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 + //#define DIRECT_SOUND_3D #include "SoundCard.h" #include "Sound.h" #include "Camera.h" -#include "ThreadSync.h" #include #include #include "vorbis/vorbisfile.h" @@ -107,7 +108,7 @@ protected: BYTE eos_latch; bool moved; - ThreadSync sync; + std::mutex sync; OggVorbis_File* ov_file; }; -- cgit v1.1