summaryrefslogtreecommitdiffstats
path: root/firmware/sound.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-05-26 22:57:49 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-05-26 22:57:49 +0000
commita0458dac2b14d4ec50dc2d65d26005a58b6a5581 (patch)
treec4dde20b8140e5c49e31af75b0d8226de2520aa3 /firmware/sound.c
parent83eb479732879e9852064644942ca36a7fd986a9 (diff)
downloadrockbox-a0458dac2b14d4ec50dc2d65d26005a58b6a5581.tar.gz
rockbox-a0458dac2b14d4ec50dc2d65d26005a58b6a5581.tar.bz2
rockbox-a0458dac2b14d4ec50dc2d65d26005a58b6a5581.zip
Fix audio on Onda VX747
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21097 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/sound.c')
-rw-r--r--firmware/sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/sound.c b/firmware/sound.c
index 0e16c5a3a9..bca98b039c 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -264,6 +264,8 @@ static void set_prescaled_volume(void)
#elif defined(HAVE_TLV320) || defined(HAVE_WM8978) || defined(HAVE_WM8985)
audiohw_set_headphone_vol(tenthdb2master(l), tenthdb2master(r));
+#elif defined(HAVE_JZ4740_CODEC)
+ audiohw_set_volume(current_volume);
#endif
}
#endif /* (CONFIG_CODEC == MAS3507D) || defined HAVE_UDA1380 */