Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#9431 - Add target/generic/sdl/pcm-sdl.c

Attached to Project: Rockbox
Opened by Christian Gmeiner (ChristianGmeiner) - Tuesday, 30 September 2008, 09:17 GMT+2
Last edited by Thomas Jarosch (thomasjfox) - Sunday, 13 March 2011, 11:30 GMT+2
Task Type Patches
Category Simulator
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

This is my first attempt to move some sdl stuff into the target tree.
I moved sound.c from uisimulator into target/generic/sdl/pcm-sdl and
for me it works. There is one open point to discuss: What to do
with debug_audio stuff in pcm-sdl? Remove it or use it?
In the end we could use target/generic/sdl for the simulator, as I am doing this at the moment, and also for RockBox as application.

Hope someone finds time to look at this patch.
   pcm-sdl.patch (18.4 KiB)
 firmware/SOURCES                      |    4 
 firmware/target/generic/sdl/pcm-sdl.c |  358 +++++++++++++++++++++++++++++++++
 uisimulator/sdl/sound.c               |  365 ----------------------------------
 uisimulator/sdl/SOURCES               |    1 
 4 files changed, 362 insertions(+), 366 deletions(-)

This task depends upon

Closed by  Thomas Jarosch (thomasjfox)
Sunday, 13 March 2011, 11:30 GMT+2
Reason for closing:  Out of Date
Additional comments about closing:  Thanks for your effort!

Something similar is upstream now, have a look at the "SDL app" target.
Comment by Christian Gmeiner (ChristianGmeiner) - Wednesday, 29 October 2008, 18:33 GMT+2
This new patch shows some progress i have made. New are kernel-sdl and system-sdl.
In system.sdl we setup the system and also do a nice shutdown (all copy&paste from uisimulator)
and in kernel-sdl we have interrupt handling for our timer.
There is much left to do and I hope I will find some time to finish my plan :)
   sdl_target.patch (29.7 KiB)
 apps/main.c                                 |    1 
 firmware/SOURCES                            |    6 
 firmware/target/generic/sdl/pcm-sdl.c       |  358 +++++++++++++++++++++++++++
 firmware/target/generic/sdl/kernel-sdl.c    |  117 ++++++++
 firmware/target/generic/sdl/system-sdl.c    |   52 +++
 firmware/target/generic/sdl/system-target.h |   32 ++
 uisimulator/sdl/sound.c                     |  365 ----------------------------
 uisimulator/sdl/kernel-sdl.c                |  155 -----------
 uisimulator/sdl/SOURCES                     |    2 
 9 files changed, 566 insertions(+), 522 deletions(-)

Loading...