diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-09-07 16:48:27 +0300 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-12-31 12:20:59 +0100 |
commit | 4b7cd2c6772a43b3057368ca452be65691826aa5 (patch) | |
tree | 0f3128bcae9b7a247cbbe26784ba6d65e3b492f6 | |
parent | c35ba8a725405f7712618871c56a3b7fb3933e2a (diff) |
osmo-gapk: drop useless printf calls
The printf() writes the text into stdout, which may be undesirable
in some use cases. Moreover, the printed information was redundant.
So, let's drop such calls.
-rw-r--r-- | src/app_osmo_gapk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app_osmo_gapk.c b/src/app_osmo_gapk.c index 926f3ba..c2e8dd9 100644 --- a/src/app_osmo_gapk.c +++ b/src/app_osmo_gapk.c @@ -397,7 +397,7 @@ files_open(struct gapk_state *gs) return gs->in.rtp.fd; } } else if (gs->opts.alsa_in) { - printf("alsa_in, not stdin\n"); + /* Do nothing, ALSA source does the initialization itself */ } else gs->in.file.fh = stdin; @@ -419,7 +419,7 @@ files_open(struct gapk_state *gs) return gs->out.rtp.fd; } } else if (gs->opts.alsa_out) { - printf("alsa_out, not stdout\n"); + /* Do nothing, ALSA sink does the initialization itself */ } else gs->out.file.fh = stdout; |