diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-06-05 07:03:30 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-06-05 07:03:30 +0000 |
commit | bcb8a884ee256e31d45a46bdeb83423457ac48d2 (patch) | |
tree | 5452ef9fa0b3f968a30835d44360f35951f2a0d5 /firmware/sound.c | |
parent | fea88888f0bc271b57a6d6dfab387fddc1cbd20d (diff) | |
download | rockbox-bcb8a884ee256e31d45a46bdeb83423457ac48d2.tar.gz rockbox-bcb8a884ee256e31d45a46bdeb83423457ac48d2.zip |
e200: Add recording. Just from MIC right now and FM integration will happen soon. Most every bit of weirdness is nescessary and no problems seem to exist that the retailos doesn't exhibit too (namely noise when LCD is on when recording from MIC).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13557 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/sound.c')
-rw-r--r-- | firmware/sound.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/sound.c b/firmware/sound.c index 9e4481c3c6..0ccf1df260 100644 --- a/firmware/sound.c +++ b/firmware/sound.c | |||
@@ -743,6 +743,7 @@ void sound_set(int setting, int value) | |||
743 | sound_set_val(value); | 743 | sound_set_val(value); |
744 | } | 744 | } |
745 | 745 | ||
746 | #ifndef HAVE_AS3514 | ||
746 | int sound_val2phys(int setting, int value) | 747 | int sound_val2phys(int setting, int value) |
747 | { | 748 | { |
748 | #if CONFIG_CODEC == MAS3587F | 749 | #if CONFIG_CODEC == MAS3587F |
@@ -804,6 +805,7 @@ int sound_val2phys(int setting, int value) | |||
804 | return value; | 805 | return value; |
805 | #endif | 806 | #endif |
806 | } | 807 | } |
808 | #endif /* HAVE_AS3514 */ | ||
807 | 809 | ||
808 | #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) | 810 | #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) |
809 | #ifndef SIMULATOR | 811 | #ifndef SIMULATOR |