Skip to content

Commit

Permalink
Add logging if verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
octylFractal committed Mar 23, 2022
1 parent e6ff7b1 commit 411f2ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Receivers/unix/scream.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ int main(int argc, char*argv[]) {
receiver_rcv_fn(&receiver_data);
if (receiver_data.format.channels == 0) {
// Invalid data, loop again
if (verbosity) fprintf(stderr, "Received invalid data, trying again\n");
continue;
}
if (output_send_fn(&receiver_data) != 0)
Expand Down

0 comments on commit 411f2ed

Please sign in to comment.