LinuxQMISDK: qaGobiApiAudio.h Source File

LinuxQMISDK SLQS03.03.11

- Main Page
- Modules
- References
- Data Structures

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
qaGobiApiAudio.h
Go to the documentation of this file.
1
9 /*
10 * Copyright: © 2013-2015 Sierra Wireless, Inc. all rights reserved
11 */
12 #ifndef __GOBI_API_AUDIO_H__
13 #define __GOBI_API_AUDIO_H__
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
29 typedef struct
30 {
31 BYTE Generator;
32 } GetAudioProfileReq;
33
65 typedef struct
66 {
67 BYTE Profile;
68 BYTE EarMute;
69 BYTE MicMute;
70 BYTE Volume;
71 } GetAudioProfileResp;
72
90 ULONG SLQSGetAudioProfile (
91 GetAudioProfileReq *pGetAudioProfileReq,
92 GetAudioProfileResp *pGetAudioProfileResp );
93
131 typedef struct
132 {
133 BYTE Profile;
134 BYTE EarMute;
135 BYTE MicMute;
136 BYTE Generator;
137 BYTE Volume;
138 } SetAudioProfileReq;
139
154 ULONG SLQSSetAudioProfile (
155 SetAudioProfileReq *pSetAudioProfileReq );
156
180 typedef struct
181 {
182 BYTE Profile;
183 BYTE Item;
184 } GetAudioPathConfigReq;
185
239 typedef struct
240 {
241 WORD *pFlag;
242 WORD *pStageCnt;
243 BYTE *pStage0Val;
244 BYTE *pStage1Val;
245 BYTE *pStage2Val;
246 BYTE *pStage3Val;
247 BYTE *pStage4Val;
248 } TXPCMIIRFltr;
249
303 typedef struct
304 {
305 WORD *pFlag;
306 WORD *pStageCnt;
307 BYTE *pStage0Val;
308 BYTE *pStage1Val;
309 BYTE *pStage2Val;
310 BYTE *pStage3Val;
311 BYTE *pStage4Val;
312 } RXPCMIIRFltr;
313
336 typedef struct
337 {
338 WORD *pRXStaticGain;
339 WORD *pRXAIG;
340 WORD *pRXExpThres;
341 WORD *pRXExpSlope;
342 WORD *pRXComprThres;
343 WORD *pRXComprSlope;
344 } RXAGCList;
345
357 typedef struct
358 {
359 WORD *pAVRXAVCSens;
360 WORD *pAVRXAVCHeadroom;
361 } RXAVCList;
362
385 typedef struct
386 {
387 WORD *pTXStaticGain;
388 WORD *pTXAIG;
389 WORD *pTXExpThres;
390 WORD *pTXExpSlope;
391 WORD *pTXComprThres;
392 WORD *pTXComprSlope;
393 } TXAGCList;
394
447 typedef struct
448 {
449 BYTE *pECMode;
450 BYTE *pNSEnable;
451 WORD *pTXGain;
452 WORD *pDTMFTXGain;
453 WORD *pCodecSTGain;
454 TXPCMIIRFltr *pTXPCMIIRFltr;
455 RXPCMIIRFltr *pRXPCMIIRFltr;
456 BYTE *pMICGainSelect;
457 BYTE *pRXAVCAGCSwitch;
458 BYTE *pTXAVCSwitch;
459 RXAGCList *pRXAGCList;
460 RXAVCList *pRXAVCList;
461 TXAGCList *pTXAGCList;
462 } GetAudioPathConfigResp;
463
481 ULONG SLQSGetAudioPathConfig (
482 GetAudioPathConfigReq *pGetAudioPathConfigReq,
483 GetAudioPathConfigResp *pGetAudioPathConfigResp );
484
538 typedef struct
539 {
540 BYTE Profile;
541 BYTE *pECMode;
542 BYTE *pNSEnable;
543 WORD *pTXGain;
544 WORD *pDTMFTXGain;
545 WORD *pCodecSTGain;
546 TXPCMIIRFltr *pTXPCMIIRFltr;
547 RXPCMIIRFltr *pRXPCMIIRFltr;
548 BYTE *pRXAVCAGCSwitch;
549 BYTE *pTXAVCSwitch;
550 RXAGCList *pRXAGCList;
551 RXAVCList *pRXAVCList;
552 TXAGCList *pTXAGCList;
553 } SetAudioPathConfigReq;
554
569 ULONG SLQSSetAudioPathConfig (
570 SetAudioPathConfigReq *pSetAudioPathConfigReq );
571
593 typedef struct
594 {
595 BYTE Profile;
596 BYTE Generator;
597 BYTE Volume;
598 BYTE Item;
599 } GetAudioVolTLBConfigReq;
600
607 typedef struct
608 {
609 WORD ResCode;
610 } GetAudioVolTLBConfigResp;
611
629 ULONG SLQSGetAudioVolTLBConfig (
630 GetAudioVolTLBConfigReq *pGetAudioVolTLBCfgReq,
631 GetAudioVolTLBConfigResp *pGetAudioVolTLBCfgResp );
632
657 typedef struct
658 {
659 BYTE Profile;
660 BYTE Generator;
661 BYTE Volume;
662 BYTE Item;
663 WORD VolValue;
664 } SetAudioVolTLBConfigReq;
665
672 typedef struct
673 {
674 WORD ResCode;
675 } SetAudioVolTLBConfigResp;
676
694 ULONG SLQSSetAudioVolTLBConfig (
695 SetAudioVolTLBConfigReq *pSetAudioVolTLBCfgReq,
696 SetAudioVolTLBConfigResp *pSetAudioVolTLBCfgResp );
697
698 #ifdef __cplusplus
699 } /* extern "C" { */
700 #endif
701
702 #endif /* __GOBI_API_AUDIO_H__ */
GetAudioPathConfigResp
Definition: qaGobiApiAudio.h:447
TXPCMIIRFltr::pStage2Val
BYTE * pStage2Val
Definition: qaGobiApiAudio.h:245
SetAudioVolTLBConfigReq::Item
BYTE Item
Definition: qaGobiApiAudio.h:662
SetAudioPathConfigReq::pCodecSTGain
WORD * pCodecSTGain
Definition: qaGobiApiAudio.h:545
RXAGCList::pRXExpThres
WORD * pRXExpThres
Definition: qaGobiApiAudio.h:340
GetAudioVolTLBConfigReq::Generator
BYTE Generator
Definition: qaGobiApiAudio.h:596
SetAudioPathConfigReq::pRXPCMIIRFltr
RXPCMIIRFltr * pRXPCMIIRFltr
Definition: qaGobiApiAudio.h:547
GetAudioPathConfigResp::pTXAVCSwitch
BYTE * pTXAVCSwitch
Definition: qaGobiApiAudio.h:458
SetAudioPathConfigReq::pTXPCMIIRFltr
TXPCMIIRFltr * pTXPCMIIRFltr
Definition: qaGobiApiAudio.h:546
SetAudioPathConfigReq::pTXGain
WORD * pTXGain
Definition: qaGobiApiAudio.h:543
SLQSGetAudioVolTLBConfig
ULONG SLQSGetAudioVolTLBConfig(GetAudioVolTLBConfigReq *pGetAudioVolTLBCfgReq, GetAudioVolTLBConfigResp *pGetAudioVolTLBCfgResp)
GetAudioPathConfigResp::pRXAVCList
RXAVCList * pRXAVCList
Definition: qaGobiApiAudio.h:460
RXPCMIIRFltr::pStageCnt
WORD * pStageCnt
Definition: qaGobiApiAudio.h:306
BYTE
unsigned char BYTE
Definition: SwiDataTypes.h:28
GetAudioPathConfigResp::pRXAGCList
RXAGCList * pRXAGCList
Definition: qaGobiApiAudio.h:459
TXPCMIIRFltr::pStage3Val
BYTE * pStage3Val
Definition: qaGobiApiAudio.h:246
SetAudioPathConfigReq::pRXAGCList
RXAGCList * pRXAGCList
Definition: qaGobiApiAudio.h:550
TXPCMIIRFltr::pFlag
WORD * pFlag
Definition: qaGobiApiAudio.h:241
RXAGCList::pRXStaticGain
WORD * pRXStaticGain
Definition: qaGobiApiAudio.h:338
TXAGCList
Definition: qaGobiApiAudio.h:385
SetAudioProfileReq::MicMute
BYTE MicMute
Definition: qaGobiApiAudio.h:135
SetAudioVolTLBConfigResp
Definition: qaGobiApiAudio.h:672
SetAudioVolTLBConfigReq
Definition: qaGobiApiAudio.h:657
TXPCMIIRFltr::pStage4Val
BYTE * pStage4Val
Definition: qaGobiApiAudio.h:247
GetAudioVolTLBConfigReq
Definition: qaGobiApiAudio.h:593
RXAGCList
Definition: qaGobiApiAudio.h:336
GetAudioProfileResp::Volume
BYTE Volume
Definition: qaGobiApiAudio.h:70
SetAudioPathConfigReq::Profile
BYTE Profile
Definition: qaGobiApiAudio.h:540
TXAGCList::pTXComprThres
WORD * pTXComprThres
Definition: qaGobiApiAudio.h:391
SetAudioProfileReq::Profile
BYTE Profile
Definition: qaGobiApiAudio.h:133
SetAudioProfileReq::Volume
BYTE Volume
Definition: qaGobiApiAudio.h:137
RXPCMIIRFltr::pStage1Val
BYTE * pStage1Val
Definition: qaGobiApiAudio.h:308
TXAGCList::pTXExpThres
WORD * pTXExpThres
Definition: qaGobiApiAudio.h:389
GetAudioPathConfigResp::pTXGain
WORD * pTXGain
Definition: qaGobiApiAudio.h:451
SetAudioVolTLBConfigReq::VolValue
WORD VolValue
Definition: qaGobiApiAudio.h:663
RXAGCList::pRXAIG
WORD * pRXAIG
Definition: qaGobiApiAudio.h:339
GetAudioPathConfigResp::pNSEnable
BYTE * pNSEnable
Definition: qaGobiApiAudio.h:450
SetAudioPathConfigReq::pNSEnable
BYTE * pNSEnable
Definition: qaGobiApiAudio.h:542
GetAudioVolTLBConfigResp
Definition: qaGobiApiAudio.h:607
SLQSSetAudioPathConfig
ULONG SLQSSetAudioPathConfig(SetAudioPathConfigReq *pSetAudioPathConfigReq)
SetAudioProfileReq
Definition: qaGobiApiAudio.h:131
GetAudioPathConfigResp::pMICGainSelect
BYTE * pMICGainSelect
Definition: qaGobiApiAudio.h:456
GetAudioProfileResp::Profile
BYTE Profile
Definition: qaGobiApiAudio.h:67
SLQSSetAudioVolTLBConfig
ULONG SLQSSetAudioVolTLBConfig(SetAudioVolTLBConfigReq *pSetAudioVolTLBCfgReq, SetAudioVolTLBConfigResp *pSetAudioVolTLBCfgResp)
TXAGCList::pTXExpSlope
WORD * pTXExpSlope
Definition: qaGobiApiAudio.h:390
SetAudioPathConfigReq::pRXAVCList
RXAVCList * pRXAVCList
Definition: qaGobiApiAudio.h:551
GetAudioVolTLBConfigReq::Volume
BYTE Volume
Definition: qaGobiApiAudio.h:597
TXPCMIIRFltr::pStage0Val
BYTE * pStage0Val
Definition: qaGobiApiAudio.h:243
RXPCMIIRFltr::pFlag
WORD * pFlag
Definition: qaGobiApiAudio.h:305
RXAVCList
Definition: qaGobiApiAudio.h:357
GetAudioPathConfigReq::Profile
BYTE Profile
Definition: qaGobiApiAudio.h:182
RXPCMIIRFltr::pStage4Val
BYTE * pStage4Val
Definition: qaGobiApiAudio.h:311
GetAudioPathConfigResp::pDTMFTXGain
WORD * pDTMFTXGain
Definition: qaGobiApiAudio.h:452
SLQSSetAudioProfile
ULONG SLQSSetAudioProfile(SetAudioProfileReq *pSetAudioProfileReq)
SetAudioPathConfigReq::pTXAGCList
TXAGCList * pTXAGCList
Definition: qaGobiApiAudio.h:552
GetAudioPathConfigResp::pCodecSTGain
WORD * pCodecSTGain
Definition: qaGobiApiAudio.h:453
GetAudioPathConfigResp::pRXPCMIIRFltr
RXPCMIIRFltr * pRXPCMIIRFltr
Definition: qaGobiApiAudio.h:455
TXPCMIIRFltr::pStage1Val
BYTE * pStage1Val
Definition: qaGobiApiAudio.h:244
SetAudioVolTLBConfigReq::Generator
BYTE Generator
Definition: qaGobiApiAudio.h:660
RXAVCList::pAVRXAVCHeadroom
WORD * pAVRXAVCHeadroom
Definition: qaGobiApiAudio.h:360
SetAudioVolTLBConfigReq::Profile
BYTE Profile
Definition: qaGobiApiAudio.h:659
RXAVCList::pAVRXAVCSens
WORD * pAVRXAVCSens
Definition: qaGobiApiAudio.h:359
RXPCMIIRFltr
Definition: qaGobiApiAudio.h:303
GetAudioProfileReq::Generator
BYTE Generator
Definition: qaGobiApiAudio.h:31
GetAudioVolTLBConfigReq::Profile
BYTE Profile
Definition: qaGobiApiAudio.h:595
SetAudioPathConfigReq::pECMode
BYTE * pECMode
Definition: qaGobiApiAudio.h:541
ULONG
unsigned long ULONG
Definition: SwiDataTypes.h:25
GetAudioVolTLBConfigResp::ResCode
WORD ResCode
Definition: qaGobiApiAudio.h:609
GetAudioPathConfigResp::pTXAGCList
TXAGCList * pTXAGCList
Definition: qaGobiApiAudio.h:461
TXAGCList::pTXStaticGain
WORD * pTXStaticGain
Definition: qaGobiApiAudio.h:387
SetAudioVolTLBConfigResp::ResCode
WORD ResCode
Definition: qaGobiApiAudio.h:674
GetAudioPathConfigReq::Item
BYTE Item
Definition: qaGobiApiAudio.h:183
SetAudioPathConfigReq::pTXAVCSwitch
BYTE * pTXAVCSwitch
Definition: qaGobiApiAudio.h:549
TXPCMIIRFltr::pStageCnt
WORD * pStageCnt
Definition: qaGobiApiAudio.h:242
TXPCMIIRFltr
Definition: qaGobiApiAudio.h:239
RXAGCList::pRXComprThres
WORD * pRXComprThres
Definition: qaGobiApiAudio.h:342
SetAudioPathConfigReq::pRXAVCAGCSwitch
BYTE * pRXAVCAGCSwitch
Definition: qaGobiApiAudio.h:548
SetAudioVolTLBConfigReq::Volume
BYTE Volume
Definition: qaGobiApiAudio.h:661
SetAudioPathConfigReq
Definition: qaGobiApiAudio.h:538
GetAudioProfileResp::EarMute
BYTE EarMute
Definition: qaGobiApiAudio.h:68
TXAGCList::pTXAIG
WORD * pTXAIG
Definition: qaGobiApiAudio.h:388
GetAudioPathConfigReq
Definition: qaGobiApiAudio.h:180
GetAudioPathConfigResp::pECMode
BYTE * pECMode
Definition: qaGobiApiAudio.h:449
RXPCMIIRFltr::pStage2Val
BYTE * pStage2Val
Definition: qaGobiApiAudio.h:309
RXAGCList::pRXExpSlope
WORD * pRXExpSlope
Definition: qaGobiApiAudio.h:341
TXAGCList::pTXComprSlope
WORD * pTXComprSlope
Definition: qaGobiApiAudio.h:392
SetAudioProfileReq::Generator
BYTE Generator
Definition: qaGobiApiAudio.h:136
GetAudioProfileResp
Definition: qaGobiApiAudio.h:65
SLQSGetAudioPathConfig
ULONG SLQSGetAudioPathConfig(GetAudioPathConfigReq *pGetAudioPathConfigReq, GetAudioPathConfigResp *pGetAudioPathConfigResp)
RXPCMIIRFltr::pStage0Val
BYTE * pStage0Val
Definition: qaGobiApiAudio.h:307
GetAudioVolTLBConfigReq::Item
BYTE Item
Definition: qaGobiApiAudio.h:598
SetAudioPathConfigReq::pDTMFTXGain
WORD * pDTMFTXGain
Definition: qaGobiApiAudio.h:544
GetAudioPathConfigResp::pTXPCMIIRFltr
TXPCMIIRFltr * pTXPCMIIRFltr
Definition: qaGobiApiAudio.h:454
SLQSGetAudioProfile
ULONG SLQSGetAudioProfile(GetAudioProfileReq *pGetAudioProfileReq, GetAudioProfileResp *pGetAudioProfileResp)
GetAudioProfileResp::MicMute
BYTE MicMute
Definition: qaGobiApiAudio.h:69
RXAGCList::pRXComprSlope
WORD * pRXComprSlope
Definition: qaGobiApiAudio.h:343
WORD
unsigned short WORD
Definition: SwiDataTypes.h:30
GetAudioProfileReq
Definition: qaGobiApiAudio.h:29
GetAudioPathConfigResp::pRXAVCAGCSwitch
BYTE * pRXAVCAGCSwitch
Definition: qaGobiApiAudio.h:457
SetAudioProfileReq::EarMute
BYTE EarMute
Definition: qaGobiApiAudio.h:134
RXPCMIIRFltr::pStage3Val
BYTE * pStage3Val
Definition: qaGobiApiAudio.h:310