>just another simple question regarding alsa-api or more. are there any >advanteges of using alloca functions versus malloc functions without >of simplyier handling? has it any effect on memory handling?
its not clear that you know what alloca does. it allocates memory from the stack, not the heap; as a result, it does not need to be explicitly freed - when the execution frame is popped (i.e. the function that called alloca returns), the space is reclaimed "automatically". this has nothing to do with ALSA, btw. alloca has been around for many years. --p ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel