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.zip rockbox-674eaca5ef59625f90088da006eca4d10e2bea56.tar.gz rockbox-674eaca5ef59625f90088da006eca4d10e2bea56.tar.bz2 rockbox-674eaca5ef59625f90088da006eca4d10e2bea56.tar.xz | |
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 742e0bc..d944810 100644 --- a/apps/plugins/alpine_cdc.c +++ b/apps/plugins/alpine_cdc.c @@ -1042,25 +1042,25 @@ void set_position(int seconds) /* set to everything flat and 0 dB volume */ void sound_neutral(void) { /* neutral sound settings */ - rb->mpeg_sound_set(SOUND_BASS, 0); - rb->mpeg_sound_set(SOUND_TREBLE, 0); - rb->mpeg_sound_set(SOUND_BALANCE, 0); - rb->mpeg_sound_set(SOUND_VOLUME, 92); /* 0 dB */ - rb->mpeg_sound_set(SOUND_LOUDNESS, 0); - rb->mpeg_sound_set(SOUND_SUPERBASS, 0); - rb->mpeg_sound_set(SOUND_AVC, 0); + rb->sound_set(SOUND_BASS, 0); + rb->sound_set(SOUND_TREBLE, 0); + rb->sound_set(SOUND_BALANCE, 0); + rb->sound_set(SOUND_VOLUME, 92); /* 0 dB */ + rb->sound_set(SOUND_LOUDNESS, 0); + rb->sound_set(SOUND_SUPERBASS, 0); + rb->sound_set(SOUND_AVC, 0); } /* return to user settings */ void sound_normal(void) { /* restore sound settings */ - rb->mpeg_sound_set(SOUND_BASS, rb->global_settings->bass); - rb->mpeg_sound_set(SOUND_TREBLE, rb->global_settings->treble); - rb->mpeg_sound_set(SOUND_BALANCE, rb->global_settings->balance); - rb->mpeg_sound_set(SOUND_VOLUME, rb->global_settings->volume); - rb->mpeg_sound_set(SOUND_LOUDNESS, rb->global_settings->loudness); - rb->mpeg_sound_set(SOUND_SUPERBASS, rb->global_settings->superbass); - rb->mpeg_sound_set(SOUND_AVC, rb->global_settings->avc); + rb->sound_set(SOUND_BASS, rb->global_settings->bass); + rb->sound_set(SOUND_TREBLE, rb->global_settings->treble); + rb->sound_set(SOUND_BALANCE, rb->global_settings->balance); + rb->sound_set(SOUND_VOLUME, rb->global_settings->volume); + rb->sound_set(SOUND_LOUDNESS, rb->global_settings->loudness); + rb->sound_set(SOUND_SUPERBASS, rb->global_settings->superbass); + rb->sound_set(SOUND_AVC, rb->global_settings->avc); } /* the thread running it all */ |