summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-04-11 18:57:06 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-04-11 19:00:23 -0400
commit2dd1f37a109792b262a4000c050f7a48a145f1c4 (patch)
treec76ac85fd65972956ffe994158cc5ae9b43c99ca /firmware/export
parentf5a5b946867677de76c405ee72e2ea47e36e4c83 (diff)
downloadrockbox-2dd1f37a109792b262a4000c050f7a48a145f1c4.tar.gz
rockbox-2dd1f37a109792b262a4000c050f7a48a145f1c4.zip
Fix f5a5b94 errors. Employ SW volume for select targets on SIM.
Onda VX747 sim was missing a limits #define; #include limits.h in pcm_sw_volume.h. Simply use the software volume control for the SIM volume control rather than the SDL volume control when the target would have it natively. Change-Id: I8e924a2ff1b410f602452d2ea9b691efb82c931e
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/pcm_sw_volume.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/pcm_sw_volume.h b/firmware/export/pcm_sw_volume.h
index b86e78f500..b5d70654a1 100644
--- a/firmware/export/pcm_sw_volume.h
+++ b/firmware/export/pcm_sw_volume.h
@@ -24,6 +24,7 @@
24#ifdef HAVE_SW_VOLUME_CONTROL 24#ifdef HAVE_SW_VOLUME_CONTROL
25 25
26#include <audiohw.h> 26#include <audiohw.h>
27#include <limits.h>
27 28
28#define PCM_MUTE_LEVEL INT_MIN 29#define PCM_MUTE_LEVEL INT_MIN
29 30