Support and General Use > User Interface and Voice

UISimulator

<< < (5/8) > >>

Bagder:
autoconf.h is created by the tools/configure script

I don't know why the win32 simulator defaults to no sound. Anyone?

Lear:
Mainly because I haven't updated the configure script I guess. :)

Mmmm:
It' a shameless hack i know but putting these two lines into tools/configure does the trick!


--- Code: ---79  if [ "$simver" = "win32" ]; then
80      # win32 version
81       GCCOPTS="$GCCOPTS -mno-cygwin -DNOCYGWIN"
82       LDOPTS="-lgdi32 -luser32 -mno-cygwin"
+ 83    use_simsound="#define ROCKBOX_HAS_SIMSOUND"
+ 84    echo "Enabled PCM sound playback in simulator"
85   else
--- End code ---

I suppose there should really be a call to checksoundcard and then that should do the #define but it didn't seem to work, I assume this is because it doesn't do the checking properly on a windows system! Who knows?  :D

Mmmm:
Ive made a guide to installing the simulator which i've put at the bottom of the simple guide to compiling.

Just click on the green part of my sig to see it.

g-funk:
I just noticed that the UISim uses 99% of the CPU in windows.

At first I thought it might be cause I activated sound but now i compiled without sound and it still grabs the whole CPU even if i dont do anything and just let the UISim sit there.

Do any of you also have this problem?

Id like to fix it so if someone could help by pointing me in the right direction that would be great. Since I don't know my way around the RockBox firmware jet and ive not programmed in a long time.
Thanks :)


 

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version