24 #ifndef __DILE_AUDIO_DIRECT_H__
25 #define __DILE_AUDIO_DIRECT_H__
56 #define DILE_STATUS_T _DILE_STATUS_T
66 DILE_AUDIO_DIRECT_MAIN = 0,
67 DILE_AUDIO_DIRECT_SUB,
69 DILE_AUDIO_DIRECT_CHANNEL_MAX = 2
78 DILE_AUDIO_DIRECT_ADEC0 = 0,
79 DILE_AUDIO_DIRECT_ADEC1 = 1,
80 DILE_AUDIO_DIRECT_ADEC2 = 2,
81 DILE_AUDIO_DIRECT_ADEC3 = 3,
82 DILE_AUDIO_DIRECT_MIXER0 = 4,
83 DILE_AUDIO_DIRECT_MIXER1 = 5,
84 DILE_AUDIO_DIRECT_MIXER2 = 6,
85 DILE_AUDIO_DIRECT_MIXER3 = 7,
86 DILE_AUDIO_DIRECT_MIXER4 = 8,
87 DILE_AUDIO_DIRECT_MIXER5 = 9,
88 DILE_AUDIO_DIRECT_MIXER6 = 10,
89 DILE_AUDIO_DIRECT_MIXER7 = 11,
90 DILE_AUDIO_DIRECT_MIXER_MAX = DILE_AUDIO_DIRECT_MIXER7,
111 DILE_AUDIO_DIRECT_SAMPLING_FREQ_NONE = 0,
112 DILE_AUDIO_DIRECT_SAMPLING_FREQ_4_KHZ,
113 DILE_AUDIO_DIRECT_SAMPLING_FREQ_8_KHZ,
114 DILE_AUDIO_DIRECT_SAMPLING_FREQ_11_025KHZ,
115 DILE_AUDIO_DIRECT_SAMPLING_FREQ_12_KHZ,
116 DILE_AUDIO_DIRECT_SAMPLING_FREQ_16_KHZ,
117 DILE_AUDIO_DIRECT_SAMPLING_FREQ_22_05KHZ,
118 DILE_AUDIO_DIRECT_SAMPLING_FREQ_24_KHZ,
119 DILE_AUDIO_DIRECT_SAMPLING_FREQ_32_KHZ,
120 DILE_AUDIO_DIRECT_SAMPLING_FREQ_44_1KHZ,
121 DILE_AUDIO_DIRECT_SAMPLING_FREQ_48_KHZ,
122 DILE_AUDIO_DIRECT_SAMPLING_FREQ_64_KHZ,
134 unsigned int numberOfChannel;
135 unsigned int bitPerSample;
DILE_STATUS_T DILE_AUDIO_DIRECT_Resume(DILE_AUDIO_DIRECT_CHANNEL_T audioChannel)
DILE_STATUS_T DILE_AUDIO_DIRECT_GetBufferInfo(DILE_AUDIO_DIRECT_CHANNEL_T audioChannel, unsigned int *pMaxBufSize, unsigned int *pFreeBufSize)
DILE_AUDIO_DIRECT_SAMPLING_FREQ_T
Definition: dile_audio_direct.h:110
DILE_AUDIO_DIRECT_CHANNEL_T
Definition: dile_audio_direct.h:65
DILE_STATUS_T DILE_AUDIO_DIRECT_Close(DILE_AUDIO_DIRECT_CHANNEL_T audioChannel)
DILE_STATUS_T DILE_AUDIO_DIRECT_Stop(DILE_AUDIO_DIRECT_CHANNEL_T audioChannel)
DILE_STATUS_T DILE_AUDIO_DIRECT_SetNoDelayParam(DILE_AUDIO_DIRECT_CHANNEL_T audioChannel, unsigned int bOnOff, unsigned int upperThreshold, unsigned int lowerThreshold)
DILE_STATUS_T DILE_AUDIO_DIRECT_Pause(DILE_AUDIO_DIRECT_CHANNEL_T audioChannel)
DILE_STATUS_T DILE_AUDIO_DIRECT_Flush(DILE_AUDIO_DIRECT_CHANNEL_T audioChannel)
DILE_STATUS_T DILE_AUDIO_DIRECT_GetRawBufferInfo(DILE_AUDIO_DIRECT_CHANNEL_T audioChannel, unsigned int *pMaxBufSize, unsigned int *pFreeBufSize)
DILE_STATUS_T DILE_AUDIO_DIRECT_Write(DILE_AUDIO_DIRECT_CHANNEL_T audioChannel, void *pBuff, unsigned int bufSize)
DILE_AUDIO_DIRECT_INDEX_T
Definition: dile_audio_direct.h:77
DILE_STATUS_T DILE_AUDIO_DIRECT_Start(DILE_AUDIO_DIRECT_DATA_INFO_T audioDataInfo)
DILE_AUDIO_DIRECT_SRC_TYPE_T
Definition: dile_audio_direct.h:98
@ DILE_AUDIO_DIRECT_SRC_TYPE_AC3
2(AC3, E-AC3(DD+))
Definition: dile_audio_direct.h:101
@ DILE_AUDIO_DIRECT_SRC_TYPE_MP3
5
Definition: dile_audio_direct.h:103
@ DILE_AUDIO_DIRECT_SRC_TYPE_UNKNOWN
0
Definition: dile_audio_direct.h:99
@ DILE_AUDIO_DIRECT_SRC_TYPE_PCM
1
Definition: dile_audio_direct.h:100
@ DILE_AUDIO_DIRECT_SRC_TYPE_AAC
3(AAC, HE-AAC)
Definition: dile_audio_direct.h:102
DILE_STATUS_T DILE_AUDIO_DIRECT_Open(DILE_AUDIO_DIRECT_CHANNEL_T audioChannel, DILE_AUDIO_DIRECT_INDEX_T audioIndex)
Definition: dile_audio_direct.h:130