Rockbox mail archiveSubject: Re: Wavpack recording.
Re: Wavpack recording.
From: gl <gl_at_ntlworld.com>
Date: Sun, 12 Feb 2006 16:43:01 -0000
> If we used malloc(), we'd need to keep this amount of memory free in
> case it would be needed anyway, so it's just as wasteful as using malloc.
Good point, except of course it's wasteful to permanently allocate memory
that is only used in a particular mode (eg. recording). But I guess it
avoids memory management and guarantees no overflows.
> IDATA_ATTR is for data that is initialised. Then you have IBSS_ATTR for
> data which is
> uninitialised, and ICONST_ATTR for constant data (lookup tables and the
Thanks, is this type of stuff documented anywhere?
-- glReceived on 2006-02-12