]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Commented out useless (and wrong) munmap
authorAbramo Bagnara <abramo@alsa-project.org>
Sun, 4 Jun 2000 16:26:59 +0000 (16:26 +0000)
committerAbramo Bagnara <abramo@alsa-project.org>
Sun, 4 Jun 2000 16:26:59 +0000 (16:26 +0000)
aplay/aplay.c

index df3e37a0dbccc0ab1fbff10cf0ee228293f89ffd..bfbcb6210f1b7e269ba33b94590c3261d54dc021 100644 (file)
@@ -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(&params, 0, sizeof(params));