PCM -- no need to release params mem nor close handle?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am looking at PCM interface manual http://www.alsa-project.org/alsa-doc/alsa-lib/pcm.html

It tells that there are an open and set_params functions but nothing about close(). Furthermore, the description of open() http://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m.html#g8340c7dc0ac37f37afe5e7c21d6c528b neither tells that. Ok, I have realized from the examples. However, even the examples demonstrate no params deallocation. You call the snd_pcm_hw_params_alloca(&hwparams) but never release the allocated memory. Why?

Thank you.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux