diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2013-05-04 22:46:18 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2013-05-04 22:46:18 -0400 |
commit | fd00d3cf4815e8a5bd5ec3df405e449b2bd0083a (patch) | |
tree | 8a3799964cf5fc865a34a3fb190be40228d146e9 | |
parent | 736c3780f1bbb3c52f4215c53c3484a4a75cd553 (diff) | |
download | rockbox-fd00d3c.tar.gz rockbox-fd00d3c.zip |
Fix FS#12859 - Bass/Treble not doing anything in new builds
Just one more SNAFU after redoing sound.c. Software bass/treble controls
in the DSP expect .1 dB gain increments but the gains were being set as
1 dB increments because that's what the AUDIOHW_SETTING specifies. Just
x10 the gains given to audiohw_set_bass/treble.
Change-Id: Id5296f93908ec0036a5605d3a60a2cb5eec91bb5
-rw-r--r-- | firmware/drivers/audio/audiohw-swcodec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/audio/audiohw-swcodec.c b/firmware/drivers/audio/audiohw-swcodec.c index 45b21183ad..9cfc2ce413 100644 --- a/firmware/drivers/audio/audiohw-swcodec.c +++ b/firmware/drivers/audio/audiohw-swcodec.c @@ -47,12 +47,12 @@ void audiohw_set_stereo_width(int value) #ifdef HAVE_SW_TONE_CONTROLS void audiohw_set_bass(int value) { - callback(DSP_CALLBACK_SET_BASS, value); + callback(DSP_CALLBACK_SET_BASS, value*10); } void audiohw_set_treble(int value) { - callback(DSP_CALLBACK_SET_TREBLE, value); + callback(DSP_CALLBACK_SET_TREBLE, value*10); } #endif /* HAVE_SW_TONE_CONTROLS */ |