aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-09-07 16:48:27 +0300
committerVadim Yanitskiy <axilirator@gmail.com>2017-09-08 00:12:59 +0300
commitcaeee8214084f8949e855780ce1cbfd42a514e78 (patch)
tree9694eb5f092dea8a9609aef12270b44781038513
parent1e220b9f3c2a0d9a1a6ea39d0972a207a51168bd (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.c4
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;