Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Hopefully finish off the red from r26051.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26053 a1c6a512-1295-4272-9138-f99709370657

+18 -2
+3 -1
apps/settings.h
··· 336 336 bool superbass; /* true/false */ 337 337 #endif 338 338 339 - #if defined(HAVE_WM8758) || defined(HAVE_WM8978) 339 + #ifdef AUDIOHW_HAVE_BASS_CUTOFF 340 340 int bass_cutoff; 341 + #endif 342 + #ifdef AUDIOHW_HAVE_TREBLE_CUTOFF 341 343 int treble_cutoff; 342 344 #endif 343 345
+4
firmware/drivers/audio/wm8985.c
··· 99 99 [SOUND_RIGHT_GAIN] = {"dB", 1, 1,-128, 96, 0}, 100 100 [SOUND_MIC_GAIN] = {"dB", 1, 1,-128, 108, 16}, 101 101 #endif 102 + #ifdef AUDIOHW_HAVE_BASS_CUTOFF 102 103 [SOUND_BASS_CUTOFF] = {"", 0, 1, 1, 4, 1}, 104 + #endif 105 + #ifdef AUDIOHW_HAVE_TREBLE_CUTOFF 103 106 [SOUND_TREBLE_CUTOFF] = {"", 0, 1, 1, 4, 1}, 107 + #endif 104 108 }; 105 109 106 110 /* shadow registers */
+6
firmware/export/wm8985.h
··· 26 26 #define VOLUME_MIN -570 27 27 #define VOLUME_MAX 60 28 28 29 + #ifdef COWON_D2 30 + /* FIXME: somehow something was out of sync in the .lang, settings and caps. Keep the 31 + * cutoffs disabled until someone with the device works it out. */ 32 + #define AUDIOHW_CAPS (BASS_CAP | TREBLE_CAP) 33 + #else 29 34 #define AUDIOHW_CAPS (BASS_CAP | TREBLE_CAP | BASS_CUTOFF_CAP | TREBLE_CUTOFF_CAP) 35 + #endif 30 36 31 37 extern int tenthdb2master(int db); 32 38
+5 -1
firmware/target/mips/ingenic_jz47xx/codec-jz4740.c
··· 21 21 22 22 #include "config.h" 23 23 #include "audio.h" 24 - #include "audiohw.h" 24 + #include "sound.h" 25 25 #include "jz4740.h" 26 26 #include "system.h" 27 27 ··· 33 33 [SOUND_VOLUME] = {"dB", 0, 1, 0, 6, 0}, 34 34 #endif 35 35 /* HAVE_SW_TONE_CONTROLS */ 36 + #ifdef AUDIOHW_HAVE_BASS 36 37 [SOUND_BASS] = {"dB", 0, 1, -24, 24, 0}, 38 + #endif 39 + #ifdef AUDIOHW_HAVE_TREBLE 37 40 [SOUND_TREBLE] = {"dB", 0, 1, -24, 24, 0}, 41 + #endif 38 42 [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, 39 43 [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, 40 44 [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100},