Skip to content

Commit

Permalink
3rdparty/cubeb: Silence wasapi output frames logging unless mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek authored and oltolm committed Nov 22, 2023
1 parent 9d6d07f commit ee2c909
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions 3rdparty/cubeb/src/cubeb_wasapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1350,8 +1350,10 @@ refill_callback_output(cubeb_stream * stm)

long got = refill(stm, nullptr, 0, output_buffer, output_frames);

ALOGV("Output callback: output frames requested: %Iu, got %ld", output_frames,
got);
if (got != output_frames) {
ALOGV("Output callback: output frames requested: %Iu, got %ld", output_frames,
got);
}
if (got < 0) {
return false;
}
Expand Down

0 comments on commit ee2c909

Please sign in to comment.