| CE Gobi SDK 2.14 GobiApi

- Main Page
- Modules
- Classes
- Files

- File List

QmiAudio.h
1 /*===========================================================================
2 FILE:
3 QmiAudio.h
4
5 DESCRIPTION:
6 QMI Audio Service APIs. Service type 0xF1
7
8 Copyright (C) 2015 Sierra Wireless Incorporated. All rights reserved.
9 Sierra Wireless Proprietary/GTDR
10 ==========================================================================*/
11
12 #ifndef __QMI_AUDIO_API_H__
13 #define __QMI_AUDIO_API_H__
14 /*=========================================================================*/
15 // Definitions
16 /*=========================================================================*/
17
22
23 /*=========================================================================*/
24 // Structs
25 /*=========================================================================*/
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29
30 #ifdef __cplusplus
31 };
32 #endif
33
34 /*=========================================================================*/
35 // Prototypes
36 /*=========================================================================*/
37
78 IMPORTGOBI ULONG GOBICMAPI AudioGetProfile(
79 // req params
80 BYTE* pGenerator,
81 // resp params
82 BYTE* pProfile,
83 BYTE* pEarMute,
84 BYTE* pMicMute,
85 BYTE* pVolume
86 );
87
128 IMPORTGOBI ULONG GOBICMAPI AudioSetProfile(
129 // req params
130 BYTE* pProfile,
131 BYTE* pEarMute,
132 BYTE* pMicMute,
133 BYTE* pGenerator,
134 BYTE* pVolume
135 // resp params
136 );
137
178 IMPORTGOBI ULONG GOBICMAPI AudioGetPathByte(
179 // req params
180 BYTE* pProfile,
181 BYTE* pItem,
182 // resp params
183 BYTE* pValue
184 );
185
217 IMPORTGOBI ULONG GOBICMAPI AudioGetPathWord(
218 // req params
219 BYTE* pProfile,
220 BYTE* pItem,
221 // resp params
222 WORD* pValue
223 );
224
265 IMPORTGOBI ULONG GOBICMAPI AudioGetPathPCMFilter(
266 // req params
267 BYTE* pProfile,
268 BYTE* pItem,
269 // resp params
270 WORD* pPCMFilterFlag,
271 WORD* pPCMFilterStageCount,
272 DWORD* pPCMFilterStageValue,
273 WORD* pPCMFilterStageSize
274 );
275
350 IMPORTGOBI ULONG GOBICMAPI AudioSetAudioPath(
351 // req params
352 BYTE* pProfile,
353 BYTE* pEchoCancel,
354 BYTE* pNoiseSuppression,
355 WORD* pTXVol,
356 WORD* pSTGain,
357 WORD* pTXPCMFilterFlag,
358 WORD* pTXPCMFilterStageCount,
359 DWORD* pTXPCMFilterStageValue,
360 WORD* pTXPCMFilterStageSize,
361 WORD* pRXPCMFilterFlag,
362 WORD* pRXPCMFilterStageCount,
363 DWORD* pRXPCMFilterStageValue,
364 WORD* pRXPCMFilterStageSize,
365 BYTE* pRXAvcAgcSwitch,
366 BYTE* pTXAvcAgcSwitch
367 // resp params
368 );
369
409 IMPORTGOBI ULONG GOBICMAPI AudioGetVolTLBConfig(
410 // req params
411 BYTE* pProfile,
412 BYTE* pGenerator,
413 BYTE* pVolume,
414 BYTE* pItem,
415 // resp params
416 WORD* pValue
417 );
418
461 IMPORTGOBI ULONG GOBICMAPI AudioSetVolTLBConfig(
462 // req params
463 BYTE* pProfile,
464 BYTE* pGenerator,
465 BYTE* pVolume,
466 BYTE* pItem,
467 WORD* pInValue,
468 // resp params
469 WORD* pOutValue
470 );
471
492 IMPORTGOBI ULONG GOBICMAPI AudioPlayAudioTone(
493 // req params
494 BYTE* pGenerator,
495 BYTE* pTone,
496 WORD* pDuration //Optional
497 // resp params
498 );
499 // End of Audio group
501 #endif
AudioSetAudioPath
IMPORTGOBI ULONG GOBICMAPI AudioSetAudioPath(BYTE *pProfile, BYTE *pEchoCancel, BYTE *pNoiseSuppression, WORD *pTXVol, WORD *pSTGain, WORD *pTXPCMFilterFlag, WORD *pTXPCMFilterStageCount, DWORD *pTXPCMFilterStageValue, WORD *pTXPCMFilterStageSize, WORD *pRXPCMFilterFlag, WORD *pRXPCMFilterStageCount, DWORD *pRXPCMFilterStageValue, WORD *pRXPCMFilterStageSize, BYTE *pRXAvcAgcSwitch, BYTE *pTXAvcAgcSwitch)
AudioGetVolTLBConfig
IMPORTGOBI ULONG GOBICMAPI AudioGetVolTLBConfig(BYTE *pProfile, BYTE *pGenerator, BYTE *pVolume, BYTE *pItem, WORD *pValue)
AudioGetPathByte
IMPORTGOBI ULONG GOBICMAPI AudioGetPathByte(BYTE *pProfile, BYTE *pItem, BYTE *pValue)
AudioPlayAudioTone
IMPORTGOBI ULONG GOBICMAPI AudioPlayAudioTone(BYTE *pGenerator, BYTE *pTone, WORD *pDuration)
AudioSetProfile
IMPORTGOBI ULONG GOBICMAPI AudioSetProfile(BYTE *pProfile, BYTE *pEarMute, BYTE *pMicMute, BYTE *pGenerator, BYTE *pVolume)
AudioGetPathPCMFilter
IMPORTGOBI ULONG GOBICMAPI AudioGetPathPCMFilter(BYTE *pProfile, BYTE *pItem, WORD *pPCMFilterFlag, WORD *pPCMFilterStageCount, DWORD *pPCMFilterStageValue, WORD *pPCMFilterStageSize)
AudioGetPathWord
IMPORTGOBI ULONG GOBICMAPI AudioGetPathWord(BYTE *pProfile, BYTE *pItem, WORD *pValue)
AudioSetVolTLBConfig
IMPORTGOBI ULONG GOBICMAPI AudioSetVolTLBConfig(BYTE *pProfile, BYTE *pGenerator, BYTE *pVolume, BYTE *pItem, WORD *pInValue, WORD *pOutValue)
AudioGetProfile
IMPORTGOBI ULONG GOBICMAPI AudioGetProfile(BYTE *pGenerator, BYTE *pProfile, BYTE *pEarMute, BYTE *pMicMute, BYTE *pVolume)