A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

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

+2 -2
+2 -2
firmware/drivers/audio/audiohw-swcodec.c
··· 47 47 #ifdef HAVE_SW_TONE_CONTROLS 48 48 void audiohw_set_bass(int value) 49 49 { 50 - callback(DSP_CALLBACK_SET_BASS, value); 50 + callback(DSP_CALLBACK_SET_BASS, value*10); 51 51 } 52 52 53 53 void audiohw_set_treble(int value) 54 54 { 55 - callback(DSP_CALLBACK_SET_TREBLE, value); 55 + callback(DSP_CALLBACK_SET_TREBLE, value*10); 56 56 } 57 57 #endif /* HAVE_SW_TONE_CONTROLS */ 58 58