forked from len0rd/rockbox
Add software based bass/treble controls for targets which have no such functionality in hardware (currently only X5). They can also be used on any other SWCODEC target by adding #define HAVE_SW_TONE_CONTROLS in the relevant config-*.h file. Also remove some now unneeded zero checks when using get_replaygain_int(). Comments on sound quality are welcome as some parameters can still be fine-tuned.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12489 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1915c10994
commit
a7fabf0741
9 changed files with 175 additions and 45 deletions
|
|
@ -19,6 +19,7 @@
|
|||
#ifndef SOUND_H
|
||||
#define SOUND_H
|
||||
|
||||
#include <inttypes.h>
|
||||
#ifdef HAVE_UDA1380
|
||||
#include "uda1380.h"
|
||||
#elif defined(HAVE_WM8975) || defined(HAVE_WM8751)
|
||||
|
|
@ -76,6 +77,7 @@ int sound_max(int setting);
|
|||
int sound_default(int setting);
|
||||
sound_set_type* sound_get_fn(int setting);
|
||||
|
||||
void sound_set_dsp_callback(int (*func)(int, intptr_t));
|
||||
void sound_set_volume(int value);
|
||||
void sound_set_balance(int value);
|
||||
void sound_set_bass(int value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue