From: Abramo Bagnara Date: Sun, 4 Jun 2000 16:26:59 +0000 (+0000) Subject: Commented out useless (and wrong) munmap X-Git-Tag: v1.0.3~358 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=fb8e187f174708ed2cf47fb6420defad35222775;p=alsa-utils.git Commented out useless (and wrong) munmap --- diff --git a/aplay/aplay.c b/aplay/aplay.c index df3e37a..bfbcb62 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -615,8 +615,10 @@ static void set_params(void) align = (snd_pcm_format_physical_width(format.format) + 7) / 8; +#if 0 if (mmap_flag) snd_pcm_munmap(pcm_handle, stream); +#endif snd_pcm_stream_flush(pcm_handle, stream); /* to be in right state */ memset(¶ms, 0, sizeof(params));