diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-06-28 17:43:04 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-06-28 17:43:04 +0000 |
commit | 7df759c95107bc8e5f9a6ba17f77114fa9d80357 (patch) | |
tree | 476eba9a9add512991bd237e366c0704124d9c12 /firmware/sound.c | |
parent | c3f9ab46dea336437b7fb6113a76d75fe1b0c119 (diff) |
Create an udacodec interface (similar to ascodec and wmcoded) and adapt/implement it for the iriver h1xx/h3xx and the meizus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21546 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/sound.c')
-rw-r--r-- | firmware/sound.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/sound.c b/firmware/sound.c index bca98b039c..f4a2f87ca5 100644 --- a/firmware/sound.c +++ b/firmware/sound.c @@ -615,12 +615,13 @@ int sound_val2phys(int setting, int value) switch(setting) { +#ifdef HAVE_RECORDING case SOUND_LEFT_GAIN: case SOUND_RIGHT_GAIN: case SOUND_MIC_GAIN: result = value * 5; /* (1/2) * 10 */ break; - +#endif default: result = value; break; |