From 6acd29bcfcad095cfd44854d10429105711cf411 Mon Sep 17 00:00:00 2001 From: rfeldhans Date: Tue, 20 Mar 2018 15:37:40 +0100 Subject: [PATCH] fixed wrong format fail --- src/source/src_hops.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- 2.34.1