From 84d62fd99179bb325a4aa0e283a372b036c01bb3 Mon Sep 17 00:00:00 2001 From: Abramo Bagnara Date: Sun, 16 Apr 2000 11:07:42 +0000 Subject: [PATCH] Removed misleading and useless mode setting --- aplay/aplay.c | 1 - 1 file changed, 1 deletion(-) diff --git a/aplay/aplay.c b/aplay/aplay.c index 2f4e6ef..b4136c7 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -634,7 +634,6 @@ static void set_format(void) snd_pcm_munmap(pcm_handle, channel); fcn_flush(pcm_handle, channel); /* to be in right state */ memset(¶ms, 0, sizeof(params)); - params.mode = mode; params.channel = channel; memcpy(¶ms.format, &format, sizeof(format)); if (channel == SND_PCM_CHANNEL_PLAYBACK) { -- 2.47.1