diff options
author | Chris Robinson <[email protected]> | 2023-12-20 01:53:27 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-12-20 01:53:27 -0800 |
commit | aa6e04a5562052db172117043165ae999683b052 (patch) | |
tree | 11b36fabd9a542aca0f5ad234d365ce8067dd46d /examples/alffplay.cpp | |
parent | 59c466077fd6f16af64afcc6260bb61aa4e632dc (diff) |
Ensure struct members are initialized
Diffstat (limited to 'examples/alffplay.cpp')
-rw-r--r-- | examples/alffplay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/alffplay.cpp b/examples/alffplay.cpp index 347d0b14..7a4b7aac 100644 --- a/examples/alffplay.cpp +++ b/examples/alffplay.cpp @@ -322,7 +322,7 @@ struct AudioState { std::mutex mSrcMutex; std::condition_variable mSrcCond; - std::atomic_flag mConnected; + std::atomic_flag mConnected{}; ALuint mSource{0}; std::array<ALuint,AudioBufferCount> mBuffers{}; ALuint mBufferIdx{0}; |