Skip to content

Commit

Permalink
Ensure the state flag in DirectSoundOut.h is an atomic.
Browse files Browse the repository at this point in the history
  • Loading branch information
clangen committed Dec 20, 2016
1 parent 00bcb09 commit 95fc9c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contrib/directsoundout/DirectSoundOut.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class DirectSoundOut : public IOutput {
void Reset();
void ResetBuffers();

State state;
std::atomic<State> state;

WAVEFORMATEXTENSIBLE waveFormat;
IDirectSound8 *outputContext;
Expand Down

0 comments on commit 95fc9c7

Please sign in to comment.