]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Removed misleading and useless mode setting
authorAbramo Bagnara <abramo@alsa-project.org>
Sun, 16 Apr 2000 11:07:42 +0000 (11:07 +0000)
committerAbramo Bagnara <abramo@alsa-project.org>
Sun, 16 Apr 2000 11:07:42 +0000 (11:07 +0000)
aplay/aplay.c

index 2f4e6efab4710e81d422fdea60b9644586e63808..b4136c7aca5868dd4d09981c270c18ea29b981ed 100644 (file)
@@ -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(&params, 0, sizeof(params));
-       params.mode = mode;
        params.channel = channel;
        memcpy(&params.format, &format, sizeof(format));
        if (channel == SND_PCM_CHANNEL_PLAYBACK) {