SysTutorials

Linux Manual Pages › Section 9

snd_pcm_lib_preallocate_free_for_all(9)

snd_pcm_lib_preallocate_free_for_all - release all pre-allocated buffers on the pcm

Synopsis

int snd_pcm_lib_preallocate_free_for_all(struct snd_pcm *pcm);

Arguments

pcm

the pcm instance

Description

Releases all the pre-allocated buffers on the given pcm.

Return

Zero if successful, or a negative error code on failure.

Copyright