blob: 1a22c2d031fbebe8eeb59eb31347d9ca24adfb7c [file] [log] [blame]
rjw6c1fd8f2022-11-30 14:33:01 +08001
2#ifndef __PCMMIXER3_H__
3#define __PCMMIXER3_H__
4
5
6uint16 PcmMixer3_QueryUlBufLen(void);
7void PcmMixer3_writeUlBuf(uint16 *srcBuf, uint16 len);
8
9/**
10 @isMix: Mixer switch for uplink speech, 1 for SPH+Sound, 0 for sound only
11 @gain: Sound effect gain for uplink mixer, for 0 to 7
12*/
13void PcmMixer3_ConfigUl(kal_bool isMix, kal_int8 gain );
14
15/**
16 @isMix: Mixer switch for uplink speech, 1 for SPH+Sound, 0 for sound only
17 @gain: Sound effect gain for uplink mixer, for 0 to 7
18*/
19//void PcmMixer3_ConfigDl(kal_bool isMix, kal_int8 gain );
20
21/**
22 @mixerHisrHandler: handler
23*/
24void PcmMixer3_Start(void (*mixerHisrHandler)(void));
25void PcmMixer3_Stop(void);
26
27void PcmMixer3_Init(void);
28
29#endif //__PCMMIXER3_H__