summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-12-19 00:38:47 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-12-19 00:38:47 +0000
commit47f6cb30ee2333d64b6470317cf378d10b38c0f2 (patch)
tree6d83544a0fd7aab06be545aa784512ddb60eb2c1
parent5617f3ba5cab42d43710ff193ab8cdebd7cef812 (diff)
Added sound controls to the FM radio menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4164 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/recorder/radio.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 44b1661aac..0459ff3d74 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -142,8 +142,15 @@ bool radio_screen(void)
mpeg_init_recording();
+ mpeg_sound_channel_config(global_settings.channel_config);
+ mpeg_sound_set(SOUND_BASS, global_settings.bass);
+ mpeg_sound_set(SOUND_TREBLE, global_settings.treble);
+ mpeg_sound_set(SOUND_BALANCE, global_settings.balance);
mpeg_sound_set(SOUND_VOLUME, global_settings.volume);
-
+ mpeg_sound_set(SOUND_LOUDNESS, global_settings.loudness);
+ mpeg_sound_set(SOUND_SUPERBASS, global_settings.bass_boost);
+ mpeg_sound_set(SOUND_AVC, global_settings.avc);
+
status_set_playmode(STATUS_STOP);
/* Yes, we use the D/A for monitoring */
@@ -676,6 +683,7 @@ bool radio_menu(void)
struct menu_items radio_menu_items[] = {
{ str(LANG_FM_SAVE_PRESET), radio_add_preset },
{ str(LANG_FM_DELETE_PRESET), radio_delete_preset },
+ { str(LANG_SOUND_SETTINGS), sound_menu },
{ str(LANG_RECORDING_SETTINGS), fm_recording_settings }
};
int m;