• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Battery/Charging
  • Assigned To No-one
  • Operating System All players
  • Severity Medium
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by midgey34 - 2006-11-11

FS#6315 - More Fixes to the OS X Sim

Currently, OS X can’t build any hwcodec target without crashing. This addresses that and a bit more.

1) Change apps/Makefile to only attempt to create libcodec.a for swcodec
2) Remove #include <sys/param.h> from /uisimulator/common/io.c since it doesn’t seem to be used (correct me if I’m wrong)
3) Suppress warnings about multiple declarations by adding a flag to LDFLAGS (warnings produced by Doom still persist)

  • * 3) isn’t really a solution, it just provides nicer output :) **

Compiles and works fine for the ondio, h100, and h300 sims on Mac OS X.

Note: this patch does not address issues with rockboxui not being able to close gracefully

Closed by  barrywardell
2006-11-11 23:39
Reason for closing:  Accepted
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

Improved version of part 1 committed. Part 2 not committed because it is not necessary to fix the problem, and I\'m not too sure of its effect. Part 3 not committed because it only avoids the problem, rather than fixing it.

Here’s a slightly different approach that creates a dummy file for OS X instead.

It is important to note, that while both of these patches allow the hwcodec sims to builds, I have not been successful in playing an mp3 in them. The file will act like it is playing, but no sound will be produced. I believe it is decoding since oscilloscope and vumeter both seem to work.


Available keyboard shortcuts


Task Details

Task Editing