diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-06-28 11:54:47 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-06-28 11:54:47 +0000 |
commit | a3a51eca66603b379558b81bb93bf69e88d4c074 (patch) | |
tree | e8f87aba17569cee08802128def1a6c46d06cf69 /apps/settings.c | |
parent | 667fb7c6e94060294dd1a9f95934b841f7df9f71 (diff) |
API change for default sound settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1244 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/settings.c b/apps/settings.c index ba29b894d5..5d33ad8f50 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -25,6 +25,7 @@ #include "debug.h" #include "button.h" #include "lcd.h" +#include "mpeg.h" struct user_settings global_settings; @@ -65,10 +66,10 @@ void reset_settings( struct user_settings *settings ) { DEBUGF( "reset_settings()\n" ); - settings->volume = DEFAULT_VOLUME_SETTING; + settings->volume = mpeg_sound_default(SOUND_VOLUME); settings->balance = DEFAULT_BALANCE_SETTING; - settings->bass = DEFAULT_BASS_SETTING; - settings->treble = DEFAULT_TREBLE_SETTING; + settings->bass = mpeg_sound_default(SOUND_BASS); + settings->treble = mpeg_sound_default(SOUND_TREBLE); settings->loudness = DEFAULT_LOUDNESS_SETTING; settings->bass_boost = DEFAULT_BASS_BOOST_SETTING; settings->contrast = DEFAULT_CONTRAST_SETTING; |