Skip to content

Commit

Permalink
Revert default initializer for m_stop
Browse files Browse the repository at this point in the history
  • Loading branch information
frabert committed Sep 15, 2018
1 parent 6651301 commit 69574b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/audio/OpenALAudioEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ namespace Audio
, m_stream(stream)
, m_format(fmt == Format::Mono ? AL_FORMAT_MONO16 : AL_FORMAT_STEREO16)
, m_sampleRate(sampleRate)
, m_stop(false)
{
alGenBuffers(BUFFER_NUM, m_buffers.data());
ALenum error = alGetError();
Expand Down Expand Up @@ -360,7 +361,7 @@ namespace Audio
SoundStream m_stream;
ALenum m_format;
std::size_t m_sampleRate;
std::atomic_bool m_stop = false;
std::atomic_bool m_stop;
std::array<ALuint, BUFFER_NUM> m_buffers{};
std::thread m_thread;

Expand Down

0 comments on commit 69574b0

Please sign in to comment.