From: Abramo Bagnara Date: Sun, 16 Apr 2000 11:07:42 +0000 (+0000) Subject: Removed misleading and useless mode setting X-Git-Tag: v1.0.3~381 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=84d62fd99179bb325a4aa0e283a372b036c01bb3;p=alsa-utils.git Removed misleading and useless mode setting --- 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) {