diff options
| author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-09-15 19:17:21 +0430 |
|---|---|---|
| committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-09-15 19:27:22 +0430 |
| commit | f7d53964d372a64ccbad419cedf33c360442a28f (patch) | |
| tree | d5883ebc4ee993237a016395cdc81aa3ea8c9883 | |
| parent | c24199263f070fe68b778cab82bb93327b0f07c1 (diff) | |
osmo-gapk: fix I/O count check condition
The stdin / stdout operation was broken by a new check condition,
introduced by the 15fa605576a81803c57a144231e9e9720aa133a1.
| -rw-r--r-- | src/app_osmo_gapk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app_osmo_gapk.c b/src/app_osmo_gapk.c index 2aac0aa..729ea25 100644 --- a/src/app_osmo_gapk.c +++ b/src/app_osmo_gapk.c @@ -355,7 +355,7 @@ check_options(struct gapk_state *gs) if (gs->opts.alsa_out) sink_count++; - if (src_count != 1 || sink_count != 1) { + if (src_count > 1 || sink_count > 1) { LOGP(DAPP, LOGL_ERROR, "You have to decide on " "a single input and a single output\n"); return -EINVAL; |
