summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-05-17 22:55:40 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-05-17 22:55:40 +0000
commit0fd94237f3aa88ca9cee80c52d3991e15d4ffa94 (patch)
tree86b67c5b873c100a16013cc3dd57911bbbb3332c
parent81e48a6d6c7585a388707018f7e5ac8949a04479 (diff)
Ingenic Jz4740 PCM driver: set correct sample rate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20981 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c b/firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c
index c06c22e9c4..11a5e6d8c0 100644
--- a/firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c
@@ -58,7 +58,7 @@ void pcm_play_dma_init(void)
void pcm_dma_apply_settings(void)
{
/* TODO */
- audiohw_set_frequency(pcm_fsel);
+ audiohw_set_frequency(pcm_sampr);
}
static void play_start_pcm(void)