summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-04-22 20:55:47 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-04-22 20:55:47 -0400
commit4f2c0c1ed2c869f79e6cd6df3e346cdb0adce0fd (patch)
tree13cbae73ee14254e06fcf22694e6cf3726f6dde6 /firmware
parente61e9c61d0ba6990576d59efca07afa13fd97566 (diff)
Oops. Revert a pointless change.
Change-Id: I082411145a411ca7d41b359dea419ef8190d70ce
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/audio/sdl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/firmware/drivers/audio/sdl.c b/firmware/drivers/audio/sdl.c
index f35cec8cb7..9bb399b910 100644
--- a/firmware/drivers/audio/sdl.c
+++ b/firmware/drivers/audio/sdl.c
@@ -23,12 +23,6 @@
#include "config.h"
#include "sound.h"
#include "pcm_sampr.h"
-#if CONFIG_CODEC == SWCODEC
-#include "fixedpoint.h"
-#ifdef HAVE_SW_VOLUME_CONTROL
-#include "pcm_sw_volume.h"
-#endif
-#endif
/**
* Audio Hardware api. Make them do nothing as we cannot properly simulate with
@@ -36,6 +30,8 @@
**/
#ifdef HAVE_SW_VOLUME_CONTROL
+#include "pcm_sw_volume.h"
+
void audiohw_set_volume(int vol_l, int vol_r)
{
pcm_set_master_volume(vol_l, vol_r);