summaryrefslogtreecommitdiffstats
path: root/firmware/sound.c
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-18 22:00:53 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-18 22:00:53 +0000
commite428717d308f84a861f8b7f44889da50deaca401 (patch)
treec9a65cf65e047c129400a5d4ad94fd15481a329b /firmware/sound.c
parentd0e8c35862d977aa328a45889a17cab4b6f85878 (diff)
downloadrockbox-e428717d308f84a861f8b7f44889da50deaca401.tar.gz
rockbox-e428717d308f84a861f8b7f44889da50deaca401.tar.bz2
rockbox-e428717d308f84a861f8b7f44889da50deaca401.zip
imx233/fuze+: add volume handling to sound.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30794 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/sound.c')
-rw-r--r--firmware/sound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/sound.c b/firmware/sound.c
index c940f37b6d..ec577d6a10 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -250,7 +250,7 @@ static void set_prescaled_volume(void)
audiohw_set_lineout_vol(tenthdb2master(0), tenthdb2master(0));
#endif
-#elif defined(HAVE_TLV320) || defined(HAVE_WM8978) || defined(HAVE_WM8985)
+#elif defined(HAVE_TLV320) || defined(HAVE_WM8978) || defined(HAVE_WM8985) || defined(HAVE_IMX233_CODEC)
audiohw_set_headphone_vol(tenthdb2master(l), tenthdb2master(r));
#elif defined(HAVE_JZ4740_CODEC) || defined(HAVE_SDL_AUDIO) || defined(ANDROID)
audiohw_set_volume(current_volume);