diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-07-06 15:11:56 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-07-06 15:11:56 +0000 |
commit | 31b5c471aeec6040ca69e3bea59c0825e2a6fc9d (patch) | |
tree | 628d7638a50ab226d5164f495d14d56ed2b51a1f /firmware/export/audiohw.h | |
parent | 9da707955dcdefa1b7a55348937eb706a08039b5 (diff) |
Rockbox as an application: Add an 320x240 SDL application target.
It still works mostly like the simulator. There's also some minor left overs from the sim, but it does not define SIMULATOR.
It installs into the current (build) dir, and you need to run it with '--root .' (because it looks for ./.rockbox and not ./simdisk/rockbox) as options. That's one of the few kludges left that should be resolved soon'ish.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27310 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/audiohw.h')
-rw-r--r-- | firmware/export/audiohw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/audiohw.h b/firmware/export/audiohw.h index b8214e67b9..05fdb67e1e 100644 --- a/firmware/export/audiohw.h +++ b/firmware/export/audiohw.h @@ -69,6 +69,10 @@ #if defined(HAVE_SDL_AUDIO) /* #include <SDL_audio.h> gives errors in other code areas, * we don't really need it here, so don't. but it should maybe be fixed */ +#ifndef SIMULATOR /* simulator gets values from the target .h files */ +#define VOLUME_MIN -990 +#define VOLUME_MAX 0 +#endif #endif |