diff options
| author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-05-26 22:57:49 +0000 |
|---|---|---|
| committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-05-26 22:57:49 +0000 |
| commit | a0458dac2b14d4ec50dc2d65d26005a58b6a5581 (patch) | |
| tree | c4dde20b8140e5c49e31af75b0d8226de2520aa3 /firmware/export | |
| parent | 83eb479732879e9852064644942ca36a7fd986a9 (diff) | |
| download | rockbox-a0458dac2b14d4ec50dc2d65d26005a58b6a5581.zip rockbox-a0458dac2b14d4ec50dc2d65d26005a58b6a5581.tar.gz rockbox-a0458dac2b14d4ec50dc2d65d26005a58b6a5581.tar.bz2 rockbox-a0458dac2b14d4ec50dc2d65d26005a58b6a5581.tar.xz | |
Fix audio on Onda VX747
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21097 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/config-ondavx747.h | 6 | ||||
| -rw-r--r-- | firmware/export/jz4740-codec.h | 4 | ||||
| -rw-r--r-- | firmware/export/jz4740.h | 2 |
3 files changed, 3 insertions, 9 deletions
diff --git a/firmware/export/config-ondavx747.h b/firmware/export/config-ondavx747.h index 176a35f..b603e02 100644 --- a/firmware/export/config-ondavx747.h +++ b/firmware/export/config-ondavx747.h @@ -122,6 +122,9 @@ /* Define this if you have the Jz4740 internal codec */ #define HAVE_JZ4740_CODEC +/* has no tone controls, so we use the software ones */ +#define HAVE_SW_TONE_CONTROLS + /* define the bitmask of hardware sample rates */ #define HW_SAMPR_CAPS (SAMPR_CAP_48 | SAMPR_CAP_44 | SAMPR_CAP_32 | \ SAMPR_CAP_24 | SAMPR_CAP_22 | SAMPR_CAP_16 | \ @@ -131,9 +134,6 @@ #define NEED_ADC_CLOSE 1 -/* has no tone controls, so we use the software ones */ -//#define HAVE_SW_TONE_CONTROLS - #define BATTERY_CAPACITY_DEFAULT 1250 /* default battery capacity */ #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ #define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */ diff --git a/firmware/export/jz4740-codec.h b/firmware/export/jz4740-codec.h index e8751b5..c98bfba 100644 --- a/firmware/export/jz4740-codec.h +++ b/firmware/export/jz4740-codec.h @@ -21,11 +21,7 @@ #ifndef __JZ4740_CODEC_H_ #define __JZ4740_CODEC_H_ -/* TODO */ #define VOLUME_MIN -730 #define VOLUME_MAX 60 -int tenthdb2master(int db); -void audiohw_set_headphone_vol(int vol_l, int vol_r); - #endif /* __JZ4740_CODEC_H_ */ diff --git a/firmware/export/jz4740.h b/firmware/export/jz4740.h index 7ddec36..3bf34bd 100644 --- a/firmware/export/jz4740.h +++ b/firmware/export/jz4740.h @@ -1310,8 +1310,6 @@ #define ICDC_CDCCR2_MICBG(n) ((n & 0x3) << 4) #define ICDC_CDCCR2_HPVOL(n) ((n & 0x3) << 0) -#define ICDC_CDCCR2_AINVOL_DB(n) ((n+34.5)/1.5) - #define ICDC_CDCCR2_SMPR_8 (0) #define ICDC_CDCCR2_SMPR_11 (1) #define ICDC_CDCCR2_SMPR_12 (2) |