Support and General Use > Audio Playback, Database and Playlists

Sound Setting problem @Olympus M:robe Mr100

<< < (2/2)

RowaN:
I have a similar problem:
http://forums.rockbox.org/index.php?topic=16719.0

Bass & Treble work, but they seem to get reset to 0 after a power cycle.

ChristianGmeiner:
Could you add the following patch to the current release and the last working one? And tell me the resulting values?

Index: firmware/drivers/audio/wm8751.c
===================================================================
--- firmware/drivers/audio/wm8751.c     (Revision 17425)
+++ firmware/drivers/audio/wm8751.c     (Arbeitskopie)
@@ -30,6 +30,9 @@
 #include "audiohw.h"
 #include "system.h"

+#define LOGF_ENABLE
+#include "logf.h"
+
 const struct sound_settings_info audiohw_settings[] = {
     [SOUND_VOLUME]        = {"dB", 0,  1, -74,   6, -25},
 #ifdef USE_ADAPTIVE_BASS
@@ -186,6 +189,7 @@

 void audiohw_set_bass(int value)
 {
+    logf("b: %d", value);
     wmcodec_write(BASSCTRL, BASSCTRL_BITS |

 #ifdef USE_ADAPTIVE_BASS
@@ -197,6 +201,7 @@

 void audiohw_set_treble(int value)
 {
+    logf("t: %d", value);
     wmcodec_write(TREBCTRL, TREBCTRL_BITS |
         TREBCTRL_TREB(tone_tenthdb2hw(value)));
 }

forever3:
It's fixed now, thanks ChristianGmeiner...

Navigation

[0] Message Index

[*] Previous page

Go to full version