blob: adbda68b098266a908b91a750ff3a1fac590c2a8
1 | #ifndef __TV_AUDIO_CFG_H__ |
2 | #define __TV_AUDIO_CFG_H__ |
3 | |
4 | #include "../tvconfig/tvconfig.h" |
5 | #include "../tvutils/tvutils.h" |
6 | |
7 | #include "../tvin/CTvin.h" |
8 | |
9 | #define CC_GET_LUT_TV (0) |
10 | #define CC_GET_LUT_AV (1) |
11 | #define CC_GET_LUT_COMP (2) |
12 | #define CC_GET_LUT_HDMI (3) |
13 | #define CC_GET_LUT_VGA (4) |
14 | #define CC_GET_LUT_MPEG (5) |
15 | #define CC_GET_LUT_HDMI_4K2K (6) |
16 | #define CC_GET_LUT_USB_4K2K (7) |
17 | #define CC_GET_TYPE_CNT (8) |
18 | |
19 | #define CC_DAC_G9TV_EXTERNAL_DAC_ON_BOARD (1) |
20 | #define CC_DAC_G9TV_EXTERNAL_DAC_OFF_BOARD_FBC (2) |
21 | #define CC_DAC_G9TV_EXTERNAL_DAC_CUSTOMER_LIB (3) |
22 | #define CC_DAC_G9TV_EXTERNAL_DAC_DIGITAL (4) |
23 | #define CC_DAC_G9TV_INTERNAL_DAC (5) |
24 | |
25 | #define CC_AUD_RESAMPLE_TYPE_HW (1) |
26 | #define CC_AUD_RESAMPLE_TYPE_SW (2) |
27 | |
28 | int GetAudioAmpMasterNolinePointData(int get_type, const char *value_buf, int data_buf[]); |
29 | int GetAudioEQPresetBufferPtr(int * ); |
30 | int GetAudioAmpMainvolBuf(const char *TableKeyName, int data_buf[]); |
31 | int GetAudioAmpSupbassvolBuf(int get_type, int data_buf[]); |
32 | int GetAudioAmplifierMasterNoLineSwitchFlag(); |
33 | int GetAudioAmplifierMasterNoLinePointsCount(); |
34 | int GetAudioSupperBassSwitchDisableCFG(); |
35 | int GetAudioAmplifierSupperBassNoLineSwitchFlag(); |
36 | int GetAudioAmplifierSupperBassNoLinePointsCount(); |
37 | int GetAudioAmplifierBalanceExchangeCFG(); |
38 | int GetAudioMainVolLutBufNameModifyUbootenvCFG(); |
39 | int GetAudioMainVolLutBufNameModifyEnableCFG(); |
40 | int GetAudioSupperBassVolLutBufNameModifyEnableCFG(); |
41 | |
42 | int GetAudioDVISupportEnable(); |
43 | int GetTvAudioCardName(char tv_card_name_buf[]); |
44 | int GetTvAudioCardNeedSet(); |
45 | int GetAudioDumpDataEnableFlagCfg(); |
46 | int GetAudioWallEffectTypeCfg(); |
47 | |
48 | //srs user setting |
49 | int GetAudioSRSSourroundEnableCFG(); |
50 | int GetAudioSRSGainCfg(const char *cfg_name, int def_gain_val); |
51 | int GetAudioEffectAmplifierGainCfg(const char *cfg_name, int def_gain_val, int max_gain_val); |
52 | int GetAudioSRSSupperBassTrubassSpeakerSizeCfg(); |
53 | //tinymix control |
54 | int Get2d4gHeadsetEnable() ; |
55 | int GetAudioOutputSwapStatus(tv_source_input_t source_input); |
56 | //hardware design |
57 | int GetAudioArchitectureTypeCFG(); |
58 | const char *GetAudExtDacLibPath(); |
59 | int GetAudioResampleTypeCFG(); |
60 | int GetKaraokAvEnable(); |
61 | //audio path gain setting by user |
62 | int GetADCDigitalCaptureVol_Cfg(void); |
63 | int GetAudioInternalDacPGAInGain_Cfg(void); |
64 | int GetAudioInternalDACDigitalPlayBackVolume_Cfg(int audio_src_in_type); |
65 | const char *GetAudioAmpMainvolTableBaseName(int get_type); |
66 | int GetDefault_EQGain_Table(int *EqTable); |
67 | int GetDefaultAvOutGainBuf(int *nAvoutTable); |
68 | int GetAvOutGainBuf_Cfg(int *nAvoutTable); |
69 | |
70 | #endif //__TV_AUDIO_CFG_H__ |
71 |