save alsa buffer
Hi,
I am trying to save content of alsa buffer to file for playing it in Matlab.I choose Matlab for prototyping. I run full duplex ALSA based on code from
http://www.bel.fi/~alankila/blog/2005/08/21/Full Duplex ALSA.html<http://www.bel.fi/%7Ealankila/blog/2005/08/21/Full%20Duplex%20ALSA.html>
I run alsa on Beagleboard. I want to save buffer content to a file, but it failed with error: Segmentation fault when reach fclose(fp).
I want to know what kind of data that ALSA processes so I can implement my LPC vocoder.
Thank you.
Best regards,
Arif