diff options
author | Dana Conrad <dconrad@fastmail.com> | 2021-08-09 19:22:52 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-08-12 10:07:49 +0000 |
commit | 6de6e1459de28bef919b869ee757474c615cb787 (patch) | |
tree | ecf10a64809863d1cc3626a3b92dec856b937c4e /firmware/export/erosqlinux_codec.h | |
parent | 235e41578be60135c8ad682e05440a5b9142ce69 (diff) | |
download | rockbox-6de6e1459de28bef919b869ee757474c615cb787.tar.gz rockbox-6de6e1459de28bef919b869ee757474c615cb787.zip |
Eros Q Hosted: Apply DC Bias to PCM Data
Similar to the native port, the hosted port benefits from
adding a -1 dc bias to the PCM data. This prevents almost
all clicking artifacts.
Change-Id: Ic6378716774b6d88df23c476e2ef54d49f33dc72
Diffstat (limited to 'firmware/export/erosqlinux_codec.h')
-rw-r--r-- | firmware/export/erosqlinux_codec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/erosqlinux_codec.h b/firmware/export/erosqlinux_codec.h index b6ab58fa74..2ed1ae11cf 100644 --- a/firmware/export/erosqlinux_codec.h +++ b/firmware/export/erosqlinux_codec.h | |||
@@ -3,6 +3,8 @@ | |||
3 | 3 | ||
4 | #define AUDIOHW_CAPS (LINEOUT_CAP) | 4 | #define AUDIOHW_CAPS (LINEOUT_CAP) |
5 | 5 | ||
6 | #define PCM_DC_OFFSET_VALUE -1 | ||
7 | |||
6 | AUDIOHW_SETTING(VOLUME, "dB", 0, 2, -74, 0, -40) | 8 | AUDIOHW_SETTING(VOLUME, "dB", 0, 2, -74, 0, -40) |
7 | 9 | ||
8 | //#define AUDIOHW_NEEDS_INITIAL_UNMUTE | 10 | //#define AUDIOHW_NEEDS_INITIAL_UNMUTE |