diff options
author | Lorenzo Miori <memorys60@gmail.com> | 2013-11-25 18:59:57 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-11-25 20:17:12 +0100 |
commit | 75c791dabff8e48be18cec8915f79626ae2d0073 (patch) | |
tree | e97199db4f922260b7b778ce0f5fdfa135544dc9 /firmware/target/arm/imx233/audioout-imx233.h | |
parent | 85578cdc4d441c7197c69ab68dfe7c293331e6c8 (diff) | |
download | rockbox-75c791dabff8e48be18cec8915f79626ae2d0073.tar.gz rockbox-75c791dabff8e48be18cec8915f79626ae2d0073.zip |
imx233: add the possibility to choose audio output coupling mode
via target-defined option
Change-Id: I1bffbc7f17a11cf690a771057c2e4a7ba6a5faaa
Reviewed-on: http://gerrit.rockbox.org/678
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
Diffstat (limited to 'firmware/target/arm/imx233/audioout-imx233.h')
-rw-r--r-- | firmware/target/arm/imx233/audioout-imx233.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/audioout-imx233.h b/firmware/target/arm/imx233/audioout-imx233.h index b5c16767c6..88163e7ad2 100644 --- a/firmware/target/arm/imx233/audioout-imx233.h +++ b/firmware/target/arm/imx233/audioout-imx233.h | |||
@@ -27,6 +27,14 @@ | |||
27 | 27 | ||
28 | #include "regs/regs-audioout.h" | 28 | #include "regs/regs-audioout.h" |
29 | 29 | ||
30 | /* target-defined output stage coupling method | ||
31 | * its setting is IMX233_AUDIO_COUPLING_MODE and must be set for every target | ||
32 | * Use ACM_CAP if output stage (i.e. headphones) have output capacitors, | ||
33 | * ACM_CAPLESS (DC-coupled) otherwise. | ||
34 | */ | ||
35 | #define ACM_CAPLESS 0 | ||
36 | #define ACM_CAP 1 | ||
37 | |||
30 | struct imx233_audioout_info_t | 38 | struct imx233_audioout_info_t |
31 | { | 39 | { |
32 | // NOTE there is a convention here: dac -> dacvol -> dacmute | 40 | // NOTE there is a convention here: dac -> dacvol -> dacmute |