Skip to content

Commit

Permalink
Add correct flushing
Browse files Browse the repository at this point in the history
  • Loading branch information
igor725 committed Oct 26, 2024
1 parent 6c1c200 commit 3332223
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions input/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ bool Controller::Init(int controllerUserID) {

if (sceAudioOutOutput(this->padSpeaker, abuf) != 1024)
DEBUGLOG << "[DEBUG] [ERROR] Failed to push audio data!";

if (sceAudioOutOutput(this->padSpeaker, nullptr) < 0)
DEBUGLOG << "[DEBUG] [ERROR] Failed to flush audio queue";
}
});

Expand Down

0 comments on commit 3332223

Please sign in to comment.