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



Rockbox mail archive

Subject: separating file read and mp3 playback
From: [IDC]Dragon (idc-dragon_at_gmx.de)
Date: 2003-12-29


Hi developers,

I'd like to open up a discussion about a "multimedia architecture", since
audio for my video plugin is currently a no-go.

It would be really useful and (I think) easier to maintain if we separate
the code in mpeg.c into data sources and data sinks. This way we get
independent of file formats, or can play from memory.

Data source would be some code that supplies mp3 data into buffer(s). Data
sink is another code that takes such buffer(s), maintains DMA and notifies
about consumption. Not shure where to place the bitswap, it could even be an
object in the middle. Recording is similar, the source would be the MAS then,
sink is a file writer.

Imagine the possibilities: Games could be spiced up with little sound
effects they supply from memory, the UI could also emit clips for blind usage, we
can have alternative file readers like for playing the mp3 soundtrack of
.AVIs, or, well, my video player. Audible FF/FR for mp3 playback may also be
easier, it's up to the data source.

I volunteer to do my best with the architecture (have experience with such),
but am lost with all those special quirks in mpeg.c (can't maintain that),
please help with the requirements. Am I able to spin up some inertia for this?

Jörg

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net



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