diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-12-08 21:09:56 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-12-08 21:09:56 +0000 |
commit | ea929a3e4547e9c709560803d2cea760ffe3e6a3 (patch) | |
tree | 103138e5dae99ed1c7d2ae7c9da72cbbf072de60 /firmware/target/arm/pcm-pp.c | |
parent | ed96b2a4ddf39b91621e125a95380d3a23a1cc73 (diff) | |
download | rockbox-ea929a3e4547e9c709560803d2cea760ffe3e6a3.tar.gz rockbox-ea929a3e4547e9c709560803d2cea760ffe3e6a3.zip |
Have drivers merged for WM8711/21/31 since they are so similar but respect all register differences between codecs. Change minis to #define the actual codec type. If anything breaks check if OSCPD and CLKOUTPD need to be clear for the target- H10 is fine. A nice naming convention suggestion for WM codec multidrivers would be welcome rather than naming for a specific chip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19367 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/pcm-pp.c')
-rw-r--r-- | firmware/target/arm/pcm-pp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/pcm-pp.c b/firmware/target/arm/pcm-pp.c index 2c4a6ac87d..3157cffaec 100644 --- a/firmware/target/arm/pcm-pp.c +++ b/firmware/target/arm/pcm-pp.c | |||
@@ -112,7 +112,8 @@ void pcm_apply_settings(void) | |||
112 | audiohw_set_frequency(sr_ctrl); | 112 | audiohw_set_frequency(sr_ctrl); |
113 | #endif | 113 | #endif |
114 | 114 | ||
115 | #if defined(HAVE_WM8731) || defined(HAVE_WM8721) | 115 | #if defined(HAVE_WM8711) || defined(HAVE_WM8721) \ |
116 | || defined(HAVE_WM8731) | ||
116 | audiohw_set_sample_rate(pcm_freq); | 117 | audiohw_set_sample_rate(pcm_freq); |
117 | #endif | 118 | #endif |
118 | pcm_curr_sampr = pcm_freq; | 119 | pcm_curr_sampr = pcm_freq; |