From 2f6416f347bcf0aac3f41629beb6f5af0cc09740 Mon Sep 17 00:00:00 2001 From: Abramo Bagnara Date: Mon, 11 Dec 2000 11:19:39 +0000 Subject: [PATCH] Fixed non interleaved with only one channels case --- aplay/aplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aplay/aplay.c b/aplay/aplay.c index b079f04..869fa08 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -1678,7 +1678,7 @@ static void playbackv(char **names, unsigned int count) for (channel = 0; channel < channels; ++channel) fds[channel] = -1; - if (count == 1) { + if (count == 1 && channels > 1) { size_t len = strlen(names[0]); char format[1024]; memcpy(format, names[0], len); -- 2.47.1