Re: [Alsa-devel] another newbie question regarding alsa-api

2002-06-29 Thread Paul Davis

>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



[Alsa-devel] another newbie question regarding alsa-api

2002-06-29 Thread joy

hi,

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?

-- 
regards

-
joy

/\-%%%___---
webcast every sunday 2000 cest at pingfm.org

pgp key at: x-hkp://wwwkeys.de.pgp.net


---
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