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
