snd_pcm_munmap

Name

snd_pcm_munmap -- unmap the hardware buffers to the user space

Synopsis

int snd_pcm_munmap(snd_pcm_t *handle, int channel);

Description

Frees all resources allocated with snd_pcm_mmap. The mmap control block and data block are no longer valid after this call. Function returns zero if successful, otherwise it returns an error code.