From e428717d308f84a861f8b7f44889da50deaca401 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 18 Oct 2011 22:00:53 +0000 Subject: [PATCH] imx233/fuze+: add volume handling to sound.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30794 a1c6a512-1295-4272-9138-f99709370657 --- firmware/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);