- Status Closed
- Percent Complete
- Task Type Patches
- Category User Interface → Simulator
-
Assigned To
bagder - Operating System
- Severity Medium
- Priority Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
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’ :
export HAVE_MPEG_PLAY=1
# Here you can add -L<path> if libmad is elsewhere
export SOUND_LDFLAGS=-lmad
# Here you can add -I<path> if libmad includes are
elsewhere
export SOUND_CFLAGS=-DHAVE_LIBMAD
export EXTRA_DEFINES=-DHAVE_MPEG_PLAY
Libmad for Cygwin is available as a Cygwin package
on my website (See
http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment )
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.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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?
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 … :-<)