Skip to content

Commit

Permalink
¯\_(ツ)_/¯
Browse files Browse the repository at this point in the history
  • Loading branch information
igor725 committed Oct 26, 2024
1 parent 3332223 commit ce3cbb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ bool Controller::Init(int controllerUserID) {
static float wpos = 0.0f;

while (true) {
std::unique_lock lock(aplay);
std::unique_lock<std::mutex> lock(aplay);
this->playCond.wait(lock, [=]() -> bool { return this->playAudio; });

for (int i = 0; i < 1024; i++) {
Expand Down

0 comments on commit ce3cbb1

Please sign in to comment.