r25940 oops. No, no, no, that wasn't quite right. Must be truthful about the level in decidecibels for subsequent code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25941 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8ce5b01ec7
commit
f16912f624
2 changed files with 3 additions and 3 deletions
|
@ -257,7 +257,7 @@ void audiohw_set_treble(int value)
|
|||
|
||||
void audiohw_set_prescaler(int value)
|
||||
{
|
||||
prescaler = 2 * value;
|
||||
prescaler = 3 * value / 15;
|
||||
wmcodec_write(LEFTGAIN, 0xff - (prescaler & LEFTGAIN_LDACVOL));
|
||||
wmcodec_write(RIGHTGAIN, RIGHTGAIN_RDVU |
|
||||
(0xff - (prescaler & RIGHTGAIN_RDACVOL)));
|
||||
|
|
|
@ -296,7 +296,7 @@ void sound_set_bass(int value)
|
|||
|
||||
#if !defined(AUDIOHW_HAVE_CLIPPING)
|
||||
#if defined(HAVE_WM8750) || defined(HAVE_WM8751)
|
||||
current_bass = value / 15;
|
||||
current_bass = value;
|
||||
#else
|
||||
current_bass = value * 10;
|
||||
#endif
|
||||
|
@ -320,7 +320,7 @@ void sound_set_treble(int value)
|
|||
|
||||
#if !defined(AUDIOHW_HAVE_CLIPPING)
|
||||
#if defined(HAVE_WM8750) || defined(HAVE_WM8751)
|
||||
current_treble = value / 15;
|
||||
current_treble = value;
|
||||
#else
|
||||
current_treble = value * 10;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue