Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Let's build a memory map

Let's build a memory map

From: Steve Bavin <pondlife_at_ntlworld.com>
Date: Wed, 16 Aug 2006 18:55:38 +0100

Hi,

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:

--- audiobuf (initially)
tagcache (optional, size varies)

----
dircache (optional, size varies)
----
voice thumbnail buffer (optional, size MAX_THUMBNAIL_BUFSIZE)
---
voice file (optional, size of voice file)
---- audiobuf (after initialisation)
codec malloc buffer (size MALLOC_BUFSIZE)
---- filebuf
PCM buffers, including guard buffers/descriptors
--- filebuf + filebuflen
audio codec IRAM (size CODEC_IRAM_SIZE)
---
voice codec IRAM (optional, size CODEC_IRAM_SIZE)
---
audio code DRAM (size CODEC_SIZE)
---
voice codec DRAM (optional, size CODEC_SIZE)
--- audiobufend
I intend to put this in the wiki if this information doesn't already exist
in there (and if it does, I can't find it!)
Thanks,
Steve Bavin
Received on 2006-08-16

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa