mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-08 21:55:42 +01:00
Commented out useless (and wrong) munmap
This commit is contained in:
parent
5825302e03
commit
fb8e187f17
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue