diff options
Diffstat (limited to 'firmware/export/erosqlinux_codec.h')
-rw-r--r-- | firmware/export/erosqlinux_codec.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/firmware/export/erosqlinux_codec.h b/firmware/export/erosqlinux_codec.h index 2ed1ae11cf..ecc10be924 100644 --- a/firmware/export/erosqlinux_codec.h +++ b/firmware/export/erosqlinux_codec.h | |||
@@ -3,9 +3,16 @@ | |||
3 | 3 | ||
4 | #define AUDIOHW_CAPS (LINEOUT_CAP) | 4 | #define AUDIOHW_CAPS (LINEOUT_CAP) |
5 | 5 | ||
6 | /* a small DC offset prevents play/pause clicking due to the DAC auto-muting */ | ||
6 | #define PCM_DC_OFFSET_VALUE -1 | 7 | #define PCM_DC_OFFSET_VALUE -1 |
7 | 8 | ||
8 | AUDIOHW_SETTING(VOLUME, "dB", 0, 2, -74, 0, -40) | 9 | /* |
10 | * Note: Maximum volume is set one step below unity in order to | ||
11 | * avoid overflowing pcm samples due to our DC Offset. | ||
12 | * | ||
13 | * The DAC's output is hot enough this should not be an issue. | ||
14 | */ | ||
15 | AUDIOHW_SETTING(VOLUME, "dB", 0, 2, -74, -2, -40) | ||
9 | 16 | ||
10 | //#define AUDIOHW_NEEDS_INITIAL_UNMUTE | 17 | //#define AUDIOHW_NEEDS_INITIAL_UNMUTE |
11 | 18 | ||