Rockbox mail archiveSubject: Re: Let's build a memory map
Re: Let's build a memory map
From: Magnus Holmgren <lear_at_algonet.se>
Date: Wed, 16 Aug 2006 21:50:03 +0200
Steve Bavin wrote:
> This is a call to all developers who know and understand playback.c. ;-)
> Can somebody produce, or point me in the direction of, a basic memory map
> showing how the audio buffer is used on SWCODEC targets.
> I have a rough, and very probably incorrect outline:
There are also buffers for the playlist, directory contents, and perhaps
a few others. Searching for calls to buffer_alloc should catch all
non-playback.c-related dynamic allocations.
Getting all buffer_alloc:s in the right order is a bit tricky (and has
been the source of some hard to find bugs), so having documentation over
it could certainly help.
Received on 2006-08-16