LinuxQMISDK: qaGobiApiAudio.h Source File

LinuxQMISDK SLQS03.03.07

- Main Page
- Modules
- References
- Data Structures

- File List
- Globals

qaGobiApiAudio.h
Go to the documentation of this file.
1
11 #ifndef __GOBI_API_AUDIO_H__
12 #define __GOBI_API_AUDIO_H__
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
28 typedef struct
29 {
30 BYTE Generator;
31 } GetAudioProfileReq;
32
64 typedef struct
65 {
66 BYTE Profile;
67 BYTE EarMute;
68 BYTE MicMute;
69 BYTE Volume;
70 } GetAudioProfileResp;
71
89 ULONG SLQSGetAudioProfile (
90 GetAudioProfileReq *pGetAudioProfileReq,
91 GetAudioProfileResp *pGetAudioProfileResp );
92
130 typedef struct
131 {
132 BYTE Profile;
133 BYTE EarMute;
134 BYTE MicMute;
135 BYTE Generator;
136 BYTE Volume;
137 } SetAudioProfileReq;
138
153 ULONG SLQSSetAudioProfile (
154 SetAudioProfileReq *pSetAudioProfileReq );
155
179 typedef struct
180 {
181 BYTE Profile;
182 BYTE Item;
183 } GetAudioPathConfigReq;
184
238 typedef struct
239 {
240 WORD *pFlag;
241 WORD *pStageCnt;
242 BYTE *pStage0Val;
243 BYTE *pStage1Val;
244 BYTE *pStage2Val;
245 BYTE *pStage3Val;
246 BYTE *pStage4Val;
247 } TXPCMIIRFltr;
248
302 typedef struct
303 {
304 WORD *pFlag;
305 WORD *pStageCnt;
306 BYTE *pStage0Val;
307 BYTE *pStage1Val;
308 BYTE *pStage2Val;
309 BYTE *pStage3Val;
310 BYTE *pStage4Val;
311 } RXPCMIIRFltr;
312
335 typedef struct
336 {
337 WORD *pRXStaticGain;
338 WORD *pRXAIG;
339 WORD *pRXExpThres;
340 WORD *pRXExpSlope;
341 WORD *pRXComprThres;
342 WORD *pRXComprSlope;
343 } RXAGCList;
344
356 typedef struct
357 {
358 WORD *pAVRXAVCSens;
359 WORD *pAVRXAVCHeadroom;
360 } RXAVCList;
361
384 typedef struct
385 {
386 WORD *pTXStaticGain;
387 WORD *pTXAIG;
388 WORD *pTXExpThres;
389 WORD *pTXExpSlope;
390 WORD *pTXComprThres;
391 WORD *pTXComprSlope;
392 } TXAGCList;
393
446 typedef struct
447 {
448 BYTE *pECMode;
449 BYTE *pNSEnable;
450 WORD *pTXGain;
451 WORD *pDTMFTXGain;
452 WORD *pCodecSTGain;
453 TXPCMIIRFltr *pTXPCMIIRFltr;
454 RXPCMIIRFltr *pRXPCMIIRFltr;
455 BYTE *pMICGainSelect;
456 BYTE *pRXAVCAGCSwitch;
457 BYTE *pTXAVCSwitch;
458 RXAGCList *pRXAGCList;
459 RXAVCList *pRXAVCList;
460 TXAGCList *pTXAGCList;
461 } GetAudioPathConfigResp;
462
480 ULONG SLQSGetAudioPathConfig (
481 GetAudioPathConfigReq *pGetAudioPathConfigReq,
482 GetAudioPathConfigResp *pGetAudioPathConfigResp );
483
537 typedef struct
538 {
539 BYTE Profile;
540 BYTE *pECMode;
541 BYTE *pNSEnable;
542 WORD *pTXGain;
543 WORD *pDTMFTXGain;
544 WORD *pCodecSTGain;
545 TXPCMIIRFltr *pTXPCMIIRFltr;
546 RXPCMIIRFltr *pRXPCMIIRFltr;
547 BYTE *pRXAVCAGCSwitch;
548 BYTE *pTXAVCSwitch;
549 RXAGCList *pRXAGCList;
550 RXAVCList *pRXAVCList;
551 TXAGCList *pTXAGCList;
552 } SetAudioPathConfigReq;
553
568 ULONG SLQSSetAudioPathConfig (
569 SetAudioPathConfigReq *pSetAudioPathConfigReq );
570
592 typedef struct
593 {
594 BYTE Profile;
595 BYTE Generator;
596 BYTE Volume;
597 BYTE Item;
598 } GetAudioVolTLBConfigReq;
599
606 typedef struct
607 {
608 WORD ResCode;
609 } GetAudioVolTLBConfigResp;
610
628 ULONG SLQSGetAudioVolTLBConfig (
629 GetAudioVolTLBConfigReq *pGetAudioVolTLBCfgReq,
630 GetAudioVolTLBConfigResp *pGetAudioVolTLBCfgResp );
631
656 typedef struct
657 {
658 BYTE Profile;
659 BYTE Generator;
660 BYTE Volume;
661 BYTE Item;
662 WORD VolValue;
663 } SetAudioVolTLBConfigReq;
664
671 typedef struct
672 {
673 WORD ResCode;
674 } SetAudioVolTLBConfigResp;
675
693 ULONG SLQSSetAudioVolTLBConfig (
694 SetAudioVolTLBConfigReq *pSetAudioVolTLBCfgReq,
695 SetAudioVolTLBConfigResp *pSetAudioVolTLBCfgResp );
696
697 #ifdef __cplusplus
698 } /* extern "C" { */
699 #endif
700
701 #endif /* __GOBI_API_AUDIO_H__ */
GetAudioPathConfigResp
Definition: qaGobiApiAudio.h:446
TXPCMIIRFltr::pStage2Val
BYTE * pStage2Val
Definition: qaGobiApiAudio.h:244
SetAudioVolTLBConfigReq::Item
BYTE Item
Definition: qaGobiApiAudio.h:661
SetAudioPathConfigReq::pCodecSTGain
WORD * pCodecSTGain
Definition: qaGobiApiAudio.h:544
RXAGCList::pRXExpThres
WORD * pRXExpThres
Definition: qaGobiApiAudio.h:339
GetAudioVolTLBConfigReq::Generator
BYTE Generator
Definition: qaGobiApiAudio.h:595
SetAudioPathConfigReq::pRXPCMIIRFltr
RXPCMIIRFltr * pRXPCMIIRFltr
Definition: qaGobiApiAudio.h:546
GetAudioPathConfigResp::pTXAVCSwitch
BYTE * pTXAVCSwitch
Definition: qaGobiApiAudio.h:457
SetAudioPathConfigReq::pTXPCMIIRFltr
TXPCMIIRFltr * pTXPCMIIRFltr
Definition: qaGobiApiAudio.h:545
SetAudioPathConfigReq::pTXGain
WORD * pTXGain
Definition: qaGobiApiAudio.h:542
SLQSGetAudioVolTLBConfig
ULONG SLQSGetAudioVolTLBConfig(GetAudioVolTLBConfigReq *pGetAudioVolTLBCfgReq, GetAudioVolTLBConfigResp *pGetAudioVolTLBCfgResp)
GetAudioPathConfigResp::pRXAVCList
RXAVCList * pRXAVCList
Definition: qaGobiApiAudio.h:459
RXPCMIIRFltr::pStageCnt
WORD * pStageCnt
Definition: qaGobiApiAudio.h:305
BYTE
unsigned char BYTE
Definition: SwiDataTypes.h:26
GetAudioPathConfigResp::pRXAGCList
RXAGCList * pRXAGCList
Definition: qaGobiApiAudio.h:458
TXPCMIIRFltr::pStage3Val
BYTE * pStage3Val
Definition: qaGobiApiAudio.h:245
SetAudioPathConfigReq::pRXAGCList
RXAGCList * pRXAGCList
Definition: qaGobiApiAudio.h:549
TXPCMIIRFltr::pFlag
WORD * pFlag
Definition: qaGobiApiAudio.h:240
RXAGCList::pRXStaticGain
WORD * pRXStaticGain
Definition: qaGobiApiAudio.h:337
TXAGCList
Definition: qaGobiApiAudio.h:384
SetAudioProfileReq::MicMute
BYTE MicMute
Definition: qaGobiApiAudio.h:134
SetAudioVolTLBConfigResp
Definition: qaGobiApiAudio.h:671
SetAudioVolTLBConfigReq
Definition: qaGobiApiAudio.h:656
TXPCMIIRFltr::pStage4Val
BYTE * pStage4Val
Definition: qaGobiApiAudio.h:246
GetAudioVolTLBConfigReq
Definition: qaGobiApiAudio.h:592
RXAGCList
Definition: qaGobiApiAudio.h:335
GetAudioProfileResp::Volume
BYTE Volume
Definition: qaGobiApiAudio.h:69
SetAudioPathConfigReq::Profile
BYTE Profile
Definition: qaGobiApiAudio.h:539
TXAGCList::pTXComprThres
WORD * pTXComprThres
Definition: qaGobiApiAudio.h:390
SetAudioProfileReq::Profile
BYTE Profile
Definition: qaGobiApiAudio.h:132
SetAudioProfileReq::Volume
BYTE Volume
Definition: qaGobiApiAudio.h:136
RXPCMIIRFltr::pStage1Val
BYTE * pStage1Val
Definition: qaGobiApiAudio.h:307
TXAGCList::pTXExpThres
WORD * pTXExpThres
Definition: qaGobiApiAudio.h:388
GetAudioPathConfigResp::pTXGain
WORD * pTXGain
Definition: qaGobiApiAudio.h:450
SetAudioVolTLBConfigReq::VolValue
WORD VolValue
Definition: qaGobiApiAudio.h:662
RXAGCList::pRXAIG
WORD * pRXAIG
Definition: qaGobiApiAudio.h:338
GetAudioPathConfigResp::pNSEnable
BYTE * pNSEnable
Definition: qaGobiApiAudio.h:449
SetAudioPathConfigReq::pNSEnable
BYTE * pNSEnable
Definition: qaGobiApiAudio.h:541
GetAudioVolTLBConfigResp
Definition: qaGobiApiAudio.h:606
SLQSSetAudioPathConfig
ULONG SLQSSetAudioPathConfig(SetAudioPathConfigReq *pSetAudioPathConfigReq)
SetAudioProfileReq
Definition: qaGobiApiAudio.h:130
GetAudioPathConfigResp::pMICGainSelect
BYTE * pMICGainSelect
Definition: qaGobiApiAudio.h:455
GetAudioProfileResp::Profile
BYTE Profile
Definition: qaGobiApiAudio.h:66
SLQSSetAudioVolTLBConfig
ULONG SLQSSetAudioVolTLBConfig(SetAudioVolTLBConfigReq *pSetAudioVolTLBCfgReq, SetAudioVolTLBConfigResp *pSetAudioVolTLBCfgResp)
TXAGCList::pTXExpSlope
WORD * pTXExpSlope
Definition: qaGobiApiAudio.h:389
SetAudioPathConfigReq::pRXAVCList
RXAVCList * pRXAVCList
Definition: qaGobiApiAudio.h:550
GetAudioVolTLBConfigReq::Volume
BYTE Volume
Definition: qaGobiApiAudio.h:596
TXPCMIIRFltr::pStage0Val
BYTE * pStage0Val
Definition: qaGobiApiAudio.h:242
RXPCMIIRFltr::pFlag
WORD * pFlag
Definition: qaGobiApiAudio.h:304
RXAVCList
Definition: qaGobiApiAudio.h:356
GetAudioPathConfigReq::Profile
BYTE Profile
Definition: qaGobiApiAudio.h:181
RXPCMIIRFltr::pStage4Val
BYTE * pStage4Val
Definition: qaGobiApiAudio.h:310
GetAudioPathConfigResp::pDTMFTXGain
WORD * pDTMFTXGain
Definition: qaGobiApiAudio.h:451
SLQSSetAudioProfile
ULONG SLQSSetAudioProfile(SetAudioProfileReq *pSetAudioProfileReq)
SetAudioPathConfigReq::pTXAGCList
TXAGCList * pTXAGCList
Definition: qaGobiApiAudio.h:551
GetAudioPathConfigResp::pCodecSTGain
WORD * pCodecSTGain
Definition: qaGobiApiAudio.h:452
GetAudioPathConfigResp::pRXPCMIIRFltr
RXPCMIIRFltr * pRXPCMIIRFltr
Definition: qaGobiApiAudio.h:454
TXPCMIIRFltr::pStage1Val
BYTE * pStage1Val
Definition: qaGobiApiAudio.h:243
SetAudioVolTLBConfigReq::Generator
BYTE Generator
Definition: qaGobiApiAudio.h:659
RXAVCList::pAVRXAVCHeadroom
WORD * pAVRXAVCHeadroom
Definition: qaGobiApiAudio.h:359
SetAudioVolTLBConfigReq::Profile
BYTE Profile
Definition: qaGobiApiAudio.h:658
RXAVCList::pAVRXAVCSens
WORD * pAVRXAVCSens
Definition: qaGobiApiAudio.h:358
RXPCMIIRFltr
Definition: qaGobiApiAudio.h:302
GetAudioProfileReq::Generator
BYTE Generator
Definition: qaGobiApiAudio.h:30
GetAudioVolTLBConfigReq::Profile
BYTE Profile
Definition: qaGobiApiAudio.h:594
SetAudioPathConfigReq::pECMode
BYTE * pECMode
Definition: qaGobiApiAudio.h:540
ULONG
unsigned long ULONG
Definition: SwiDataTypes.h:23
GetAudioVolTLBConfigResp::ResCode
WORD ResCode
Definition: qaGobiApiAudio.h:608
GetAudioPathConfigResp::pTXAGCList
TXAGCList * pTXAGCList
Definition: qaGobiApiAudio.h:460
TXAGCList::pTXStaticGain
WORD * pTXStaticGain
Definition: qaGobiApiAudio.h:386
SetAudioVolTLBConfigResp::ResCode
WORD ResCode
Definition: qaGobiApiAudio.h:673
GetAudioPathConfigReq::Item
BYTE Item
Definition: qaGobiApiAudio.h:182
SetAudioPathConfigReq::pTXAVCSwitch
BYTE * pTXAVCSwitch
Definition: qaGobiApiAudio.h:548
TXPCMIIRFltr::pStageCnt
WORD * pStageCnt
Definition: qaGobiApiAudio.h:241
TXPCMIIRFltr
Definition: qaGobiApiAudio.h:238
RXAGCList::pRXComprThres
WORD * pRXComprThres
Definition: qaGobiApiAudio.h:341
SetAudioPathConfigReq::pRXAVCAGCSwitch
BYTE * pRXAVCAGCSwitch
Definition: qaGobiApiAudio.h:547
SetAudioVolTLBConfigReq::Volume
BYTE Volume
Definition: qaGobiApiAudio.h:660
SetAudioPathConfigReq
Definition: qaGobiApiAudio.h:537
GetAudioProfileResp::EarMute
BYTE EarMute
Definition: qaGobiApiAudio.h:67
TXAGCList::pTXAIG
WORD * pTXAIG
Definition: qaGobiApiAudio.h:387
GetAudioPathConfigReq
Definition: qaGobiApiAudio.h:179
GetAudioPathConfigResp::pECMode
BYTE * pECMode
Definition: qaGobiApiAudio.h:448
RXPCMIIRFltr::pStage2Val
BYTE * pStage2Val
Definition: qaGobiApiAudio.h:308
RXAGCList::pRXExpSlope
WORD * pRXExpSlope
Definition: qaGobiApiAudio.h:340
TXAGCList::pTXComprSlope
WORD * pTXComprSlope
Definition: qaGobiApiAudio.h:391
SetAudioProfileReq::Generator
BYTE Generator
Definition: qaGobiApiAudio.h:135
GetAudioProfileResp
Definition: qaGobiApiAudio.h:64
SLQSGetAudioPathConfig
ULONG SLQSGetAudioPathConfig(GetAudioPathConfigReq *pGetAudioPathConfigReq, GetAudioPathConfigResp *pGetAudioPathConfigResp)
RXPCMIIRFltr::pStage0Val
BYTE * pStage0Val
Definition: qaGobiApiAudio.h:306
GetAudioVolTLBConfigReq::Item
BYTE Item
Definition: qaGobiApiAudio.h:597
SetAudioPathConfigReq::pDTMFTXGain
WORD * pDTMFTXGain
Definition: qaGobiApiAudio.h:543
GetAudioPathConfigResp::pTXPCMIIRFltr
TXPCMIIRFltr * pTXPCMIIRFltr
Definition: qaGobiApiAudio.h:453
SLQSGetAudioProfile
ULONG SLQSGetAudioProfile(GetAudioProfileReq *pGetAudioProfileReq, GetAudioProfileResp *pGetAudioProfileResp)
GetAudioProfileResp::MicMute
BYTE MicMute
Definition: qaGobiApiAudio.h:68
RXAGCList::pRXComprSlope
WORD * pRXComprSlope
Definition: qaGobiApiAudio.h:342
WORD
unsigned short WORD
Definition: SwiDataTypes.h:28
GetAudioProfileReq
Definition: qaGobiApiAudio.h:28
GetAudioPathConfigResp::pRXAVCAGCSwitch
BYTE * pRXAVCAGCSwitch
Definition: qaGobiApiAudio.h:456
SetAudioProfileReq::EarMute
BYTE EarMute
Definition: qaGobiApiAudio.h:133
RXPCMIIRFltr::pStage3Val
BYTE * pStage3Val
Definition: qaGobiApiAudio.h:309