• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category User Interface → Simulator
  • Assigned To
  • Operating System
  • Severity Medium
  • Priority Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by lassauge - 2005-01-03
Last edited by bagder - 2005-07-14

FS#2426 - Audio playing for X11 simulator

Hi, I included my latest work on audio playing
for the X11 simulator (tested on cygwin):
- use the attached patch file AND
- modify the generated Makefile AFTER configuring
for the X11 simulator:
Add this before the line containing ‘.PHONY’ :
# Here you can add -L<path> if libmad is elsewhere
export SOUND_LDFLAGS=-lmad
# Here you can add -I<path> if libmad includes are

Libmad for Cygwin is available as a Cygwin package
on my website (See )

Playing is implemented in a separate thread which
feeds the /dev/dsp and is “not really” synchronized
with the time display in the simulator (which is
another running thread counting 1 second ticks).
Try it if you dare :→ I’d like to have feedback of
this running on a Linux workstation.

Closed by  bagder
2005-07-14 22:17
Reason for closing:  Out of Date

I was going to test this patch (on linux) - the patch
applies (with a 130 line offset in mpeg.c) except for
./uisimulator/x11/Makefile which has been changed a lot it
seems.. I don't know enough to figure out where the change
belongs in the current Makefiles - if it even belongs in
that file.. could you find out and write a comment here or
update the patch?

Project Manager

Yes please. I am very interested in getting this
functionality added to the main sources so I would
appreciate an updated patch!

I´ll try to have a (recent) look at that as soon as possible.
As I have broken (?) the disk of my archos I did´nt spend
time these
days on the rockbox project (BTW if you know how to be able to
reuse a disk that is not starting : not seen by archos and even
not seen when attached to a "real" computer even if you can
hear it spinning and trying to start … :-<)


Available keyboard shortcuts


Task Details

Task Editing