From: rfeldhans Date: Tue, 20 Mar 2018 14:37:40 +0000 (+0100) Subject: fixed wrong format fail X-Git-Url: http://kyz.pub/gitweb/?a=commitdiff_plain;h=6acd29bcfcad095cfd44854d10429105711cf411;p=yn%2Fyn-odas.git fixed wrong format fail --- diff --git a/src/source/src_hops.c b/src/source/src_hops.c index 6b16717..74cc695 100644 --- a/src/source/src_hops.c +++ b/src/source/src_hops.c @@ -48,7 +48,11 @@ ((obj->interface->type == interface_soundcard) && (obj->format->type == format_binary_int08)) || ((obj->interface->type == interface_soundcard) && (obj->format->type == format_binary_int16)) || ((obj->interface->type == interface_soundcard) && (obj->format->type == format_binary_int24)) || - ((obj->interface->type == interface_soundcard) && (obj->format->type == format_binary_int32)))) { + ((obj->interface->type == interface_soundcard) && (obj->format->type == format_binary_int32)) || + ((obj->interface->type == interface_soundcard_name) && (obj->format->type == format_binary_int08)) || + ((obj->interface->type == interface_soundcard_name) && (obj->format->type == format_binary_int16)) || + ((obj->interface->type == interface_soundcard_name) && (obj->format->type == format_binary_int24)) || + ((obj->interface->type == interface_soundcard_name) && (obj->format->type == format_binary_int32)))) { printf("Source hops: Invalid interface and/or format.\n"); exit(EXIT_FAILURE);