summaryrefslogtreecommitdiffhomepage
path: root/Stars45/SoundD3D.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-27 22:11:07 +0200
committerAki <please@ignore.pl>2022-03-27 22:11:07 +0200
commit1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8 (patch)
tree3b31cdfcefe051a9a31972703b4d738812467abf /Stars45/SoundD3D.h
parent2ba515370864b85bd29b0d23083248c74a868691 (diff)
downloadstarshatter-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.h5
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;
};