diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-05-27 04:00:56 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-05-27 04:00:56 +0000 |
| commit | 43c299eaa114fc5f721ef48767fab73c051798a5 (patch) | |
| tree | 8568cf1ec0aeb583b477be37093b89f59bd3a881 | |
| parent | f9f3cad124517c3e9a2ad9c8cffe548d9a45c1e7 (diff) | |
| download | rockbox-43c299eaa114fc5f721ef48767fab73c051798a5.zip rockbox-43c299eaa114fc5f721ef48767fab73c051798a5.tar.gz rockbox-43c299eaa114fc5f721ef48767fab73c051798a5.tar.bz2 rockbox-43c299eaa114fc5f721ef48767fab73c051798a5.tar.xz | |
Fix the audiohw settings stub for the sim so the rec screen doesnt crash anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13497 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/sound.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/sound.c b/firmware/sound.c index fcb95ea..9e4481c 100644 --- a/firmware/sound.c +++ b/firmware/sound.c @@ -53,6 +53,12 @@ const struct sound_settings_info audiohw_settings[] = { [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, [SOUND_STEREO_WIDTH] = {"%", 0, 1, 0, 255, 100}, +#if CONFIG_CODEC == MAS3587F || defined(HAVE_UDA1380) || defined(HAVE_TLV320)\ + || defined(HAVE_WM8975) || defined(HAVE_WM8758) || defined(HAVE_WM8731) + [SOUND_LEFT_GAIN] = {"dB", 1, 1,-128, 96, 0}, + [SOUND_RIGHT_GAIN] = {"dB", 1, 1,-128, 96, 0}, + [SOUND_MIC_GAIN] = {"dB", 1, 1,-128, 108, 16}, +#endif }; #endif |