diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-04-01 13:41:03 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-04-01 13:41:03 +0000 |
commit | 674eaca5ef59625f90088da006eca4d10e2bea56 (patch) | |
tree | b0f02cec358ce1c506fb6d2256e2db059c7b6b6a /apps/plugins/alpine_cdc.c | |
parent | 88d5aab5a1098c5636584ddf06bd3012dc8c5b4c (diff) | |
download | rockbox-674eaca5ef59625f90088da006eca4d10e2bea56.tar.gz rockbox-674eaca5ef59625f90088da006eca4d10e2bea56.zip |
Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/alpine_cdc.c')
-rw-r--r-- | apps/plugins/alpine_cdc.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/apps/plugins/alpine_cdc.c b/apps/plugins/alpine_cdc.c index 742e0bc6f5..d944810b31 100644 --- a/apps/plugins/alpine_cdc.c +++ b/apps/plugins/alpine_cdc.c | |||
@@ -1042,25 +1042,25 @@ void set_position(int seconds) | |||
1042 | /* set to everything flat and 0 dB volume */ | 1042 | /* set to everything flat and 0 dB volume */ |
1043 | void sound_neutral(void) | 1043 | void sound_neutral(void) |
1044 | { /* neutral sound settings */ | 1044 | { /* neutral sound settings */ |
1045 | rb->mpeg_sound_set(SOUND_BASS, 0); | 1045 | rb->sound_set(SOUND_BASS, 0); |
1046 | rb->mpeg_sound_set(SOUND_TREBLE, 0); | 1046 | rb->sound_set(SOUND_TREBLE, 0); |
1047 | rb->mpeg_sound_set(SOUND_BALANCE, 0); | 1047 | rb->sound_set(SOUND_BALANCE, 0); |
1048 | rb->mpeg_sound_set(SOUND_VOLUME, 92); /* 0 dB */ | 1048 | rb->sound_set(SOUND_VOLUME, 92); /* 0 dB */ |
1049 | rb->mpeg_sound_set(SOUND_LOUDNESS, 0); | 1049 | rb->sound_set(SOUND_LOUDNESS, 0); |
1050 | rb->mpeg_sound_set(SOUND_SUPERBASS, 0); | 1050 | rb->sound_set(SOUND_SUPERBASS, 0); |
1051 | rb->mpeg_sound_set(SOUND_AVC, 0); | 1051 | rb->sound_set(SOUND_AVC, 0); |
1052 | } | 1052 | } |
1053 | 1053 | ||
1054 | /* return to user settings */ | 1054 | /* return to user settings */ |
1055 | void sound_normal(void) | 1055 | void sound_normal(void) |
1056 | { /* restore sound settings */ | 1056 | { /* restore sound settings */ |
1057 | rb->mpeg_sound_set(SOUND_BASS, rb->global_settings->bass); | 1057 | rb->sound_set(SOUND_BASS, rb->global_settings->bass); |
1058 | rb->mpeg_sound_set(SOUND_TREBLE, rb->global_settings->treble); | 1058 | rb->sound_set(SOUND_TREBLE, rb->global_settings->treble); |
1059 | rb->mpeg_sound_set(SOUND_BALANCE, rb->global_settings->balance); | 1059 | rb->sound_set(SOUND_BALANCE, rb->global_settings->balance); |
1060 | rb->mpeg_sound_set(SOUND_VOLUME, rb->global_settings->volume); | 1060 | rb->sound_set(SOUND_VOLUME, rb->global_settings->volume); |
1061 | rb->mpeg_sound_set(SOUND_LOUDNESS, rb->global_settings->loudness); | 1061 | rb->sound_set(SOUND_LOUDNESS, rb->global_settings->loudness); |
1062 | rb->mpeg_sound_set(SOUND_SUPERBASS, rb->global_settings->superbass); | 1062 | rb->sound_set(SOUND_SUPERBASS, rb->global_settings->superbass); |
1063 | rb->mpeg_sound_set(SOUND_AVC, rb->global_settings->avc); | 1063 | rb->sound_set(SOUND_AVC, rb->global_settings->avc); |
1064 | } | 1064 | } |
1065 | 1065 | ||
1066 | /* the thread running it all */ | 1066 | /* the thread running it all */ |