forked from len0rd/rockbox
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
16 lines
315 B
C
16 lines
315 B
C
#ifndef __EROSQLINUX_CODEC__
|
|
#define __EROSQLINUX_CODEC__
|
|
|
|
#define AUDIOHW_CAPS (LINEOUT_CAP)
|
|
|
|
#define PCM_DC_OFFSET_VALUE -1
|
|
|
|
AUDIOHW_SETTING(VOLUME, "dB", 0, 2, -74, 0, -40)
|
|
|
|
//#define AUDIOHW_NEEDS_INITIAL_UNMUTE
|
|
|
|
void audiohw_mute(int mute);
|
|
void erosq_set_output(int ps);
|
|
int erosq_get_outputs(void);
|
|
|
|
#endif
|