Commented out useless (and wrong) munmap

This commit is contained in:
Abramo Bagnara 2000-06-04 16:26:59 +00:00
parent 5825302e03
commit fb8e187f17

View 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));