Release all pre-allocated buffers on the pcm
int snd_pcm_lib_preallocate_free_for_all(struct snd_pcm * pcm);
pcm
the pcm instance
Releases all the pre-allocated buffers on the given pcm.
Zero if successful, or a negative error code on failure.