LinuxQMISDK: qaGobiApiSwiAudio.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
qaGobiApiSwiAudio.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_SWI_AUDIO_H__
13 #define __GOBI_API_SWI_AUDIO_H__
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 #define MAX_LEN_IFACE_TABLE 255
20
29 typedef struct
30 {
31 BYTE *pGenerator;
32 } GetM2MAudioProfileReq;
33
65 typedef struct
66 {
67 BYTE Profile;
68 BYTE EarMute;
69 BYTE MicMute;
70 BYTE Generator;
71 BYTE Volume;
72 BYTE CwtMute;
73 } GetM2MAudioProfileResp;
74
91 ULONG SLQSGetM2MAudioProfile (
92 GetM2MAudioProfileReq *pGetM2MAudioProfileReq,
93 GetM2MAudioProfileResp *pGetM2MAudioProfileResp );
94
125 typedef struct
126 {
127 BYTE Profile;
128 BYTE *pEarMute;
129 BYTE *pMicMute;
130 BYTE *pGenerator;
131 BYTE *pVolume;
132 BYTE *pCwtMute;
133 } SetM2MAudioProfileReq;
134
148 ULONG SLQSSetM2MAudioProfile (
149 SetM2MAudioProfileReq *pSetM2MAudioProfileReq );
150
162 typedef struct
163 {
164 BYTE Profile;
165 BYTE Generator;
166 } GetM2MAudioVolumeReq;
167
176 typedef struct
177 {
178 BYTE Level;
179 } GetM2MAudioVolumeResp;
180
197 ULONG SLQSGetM2MAudioVolume (
198 GetM2MAudioVolumeReq *pGetM2MAudioVolumeReq,
199 GetM2MAudioVolumeResp *pGetM2MAudioVolumeResp );
200
216 typedef struct
217 {
218 BYTE Profile;
219 BYTE Generator;
220 BYTE Level;
221 } SetM2MAudioVolumeReq;
222
236 ULONG SLQSSetM2MAudioVolume (
237 SetM2MAudioVolumeReq *pSetM2MAudioVolumeReq );
238
251 typedef struct
252 {
253 BYTE iFaceTabLen;
254 BYTE iFaceTab[MAX_LEN_IFACE_TABLE];
255 }PCMparams;
256
278 typedef struct
279 {
280 BYTE Profile;
281 BYTE Device;
282 BYTE PIFACEId;
283 PCMparams *pPCMParams;
284 }SetM2MAudioAVCFGReq;
285
299 ULONG SLQSSetM2MAudioAVCFG (
300 SetM2MAudioAVCFGReq *pSetM2MAudioAVCFGReq );
301
313 typedef struct
314 {
315 BYTE Enable;
316 } SetM2MAudioLPBKReq;
317
331 ULONG SLQSSetM2MAudioLPBK (
332 SetM2MAudioLPBKReq *pSetM2MAudioLPBKReq );
333
344 ULONG SLQSSetM2MAudioNVDef ( );
345
354 typedef struct
355 {
356 BYTE Profile;
357 } GetM2MSpkrGainReq;
358
367 typedef struct
368 {
369 WORD Value;
370 } GetM2MSpkrGainResp;
371
388 ULONG SLQSGetM2MSpkrGain (
389 GetM2MSpkrGainReq *pSpkrGainReq,
390 GetM2MSpkrGainResp *pSpkrGainResp );
391
404 typedef struct
405 {
406 BYTE Profile;
407 WORD Value;
408 } SetM2MSpkrGainReq;
409
423 ULONG SLQSSetM2MSpkrGain (
424 SetM2MSpkrGainReq *pSpkrGainReq );
425
434 typedef struct
435 {
436 BYTE Profile;
437 } GetM2MAVMuteReq;
438
456 typedef struct
457 {
458 BYTE EarMute;
459 BYTE MicMute;
460 BYTE CwtMute;
461 } GetM2MAVMuteResp;
462
479 ULONG SLQSGetM2MAVMute (
480 GetM2MAVMuteReq *pGetM2MAVMuteReq,
481 GetM2MAVMuteResp *pGetM2MAVMuteResp );
482
502 typedef struct
503 {
504 BYTE Profile;
505 BYTE EarMute;
506 BYTE MicMute;
507 BYTE *pCwtMute;
508 } SetM2MAVMuteReq;
509
523 ULONG SLQSSetM2MAVMute ( SetM2MAVMuteReq *pSetM2MAVMuteReq );
524
525 #ifdef __cplusplus
526 } /* extern "C" { */
527 #endif
528
529 #endif /* __GOBI_API_SWI_AUDIO_H__ */
SetM2MAudioVolumeReq
Definition: qaGobiApiSwiAudio.h:216
SetM2MAudioProfileReq::Profile
BYTE Profile
Definition: qaGobiApiSwiAudio.h:127
GetM2MAVMuteResp::EarMute
BYTE EarMute
Definition: qaGobiApiSwiAudio.h:458
SLQSSetM2MAudioProfile
ULONG SLQSSetM2MAudioProfile(SetM2MAudioProfileReq *pSetM2MAudioProfileReq)
SetM2MAudioAVCFGReq::PIFACEId
BYTE PIFACEId
Definition: qaGobiApiSwiAudio.h:282
SetM2MAudioAVCFGReq::Device
BYTE Device
Definition: qaGobiApiSwiAudio.h:281
GetM2MAudioProfileResp::MicMute
BYTE MicMute
Definition: qaGobiApiSwiAudio.h:69
SLQSSetM2MSpkrGain
ULONG SLQSSetM2MSpkrGain(SetM2MSpkrGainReq *pSpkrGainReq)
SetM2MAVMuteReq::EarMute
BYTE EarMute
Definition: qaGobiApiSwiAudio.h:505
GetM2MAudioProfileResp::Profile
BYTE Profile
Definition: qaGobiApiSwiAudio.h:67
GetM2MAudioProfileResp::CwtMute
BYTE CwtMute
Definition: qaGobiApiSwiAudio.h:72
SetM2MSpkrGainReq::Value
WORD Value
Definition: qaGobiApiSwiAudio.h:407
SetM2MAudioAVCFGReq
Definition: qaGobiApiSwiAudio.h:278
GetM2MSpkrGainResp
Definition: qaGobiApiSwiAudio.h:367
SetM2MAudioVolumeReq::Profile
BYTE Profile
Definition: qaGobiApiSwiAudio.h:218
BYTE
unsigned char BYTE
Definition: SwiDataTypes.h:28
GetM2MAudioVolumeReq::Generator
BYTE Generator
Definition: qaGobiApiSwiAudio.h:165
SetM2MAVMuteReq::MicMute
BYTE MicMute
Definition: qaGobiApiSwiAudio.h:506
GetM2MAudioVolumeReq
Definition: qaGobiApiSwiAudio.h:162
SetM2MAudioProfileReq::pEarMute
BYTE * pEarMute
Definition: qaGobiApiSwiAudio.h:128
SetM2MAudioAVCFGReq::pPCMParams
PCMparams * pPCMParams
Definition: qaGobiApiSwiAudio.h:283
PCMparams::iFaceTabLen
BYTE iFaceTabLen
Definition: qaGobiApiSwiAudio.h:253
GetM2MAudioProfileResp::EarMute
BYTE EarMute
Definition: qaGobiApiSwiAudio.h:68
GetM2MAVMuteResp::MicMute
BYTE MicMute
Definition: qaGobiApiSwiAudio.h:459
GetM2MAVMuteResp::CwtMute
BYTE CwtMute
Definition: qaGobiApiSwiAudio.h:460
SLQSSetM2MAVMute
ULONG SLQSSetM2MAVMute(SetM2MAVMuteReq *pSetM2MAVMuteReq)
SetM2MSpkrGainReq
Definition: qaGobiApiSwiAudio.h:404
GetM2MAudioProfileResp
Definition: qaGobiApiSwiAudio.h:65
SLQSSetM2MAudioLPBK
ULONG SLQSSetM2MAudioLPBK(SetM2MAudioLPBKReq *pSetM2MAudioLPBKReq)
SLQSGetM2MAudioProfile
ULONG SLQSGetM2MAudioProfile(GetM2MAudioProfileReq *pGetM2MAudioProfileReq, GetM2MAudioProfileResp *pGetM2MAudioProfileResp)
SetM2MAudioAVCFGReq::Profile
BYTE Profile
Definition: qaGobiApiSwiAudio.h:280
SetM2MAudioLPBKReq::Enable
BYTE Enable
Definition: qaGobiApiSwiAudio.h:315
SLQSSetM2MAudioAVCFG
ULONG SLQSSetM2MAudioAVCFG(SetM2MAudioAVCFGReq *pSetM2MAudioAVCFGReq)
MAX_LEN_IFACE_TABLE
#define MAX_LEN_IFACE_TABLE
Definition: qaGobiApiSwiAudio.h:19
SetM2MAVMuteReq::pCwtMute
BYTE * pCwtMute
Definition: qaGobiApiSwiAudio.h:507
SLQSGetM2MSpkrGain
ULONG SLQSGetM2MSpkrGain(GetM2MSpkrGainReq *pSpkrGainReq, GetM2MSpkrGainResp *pSpkrGainResp)
SetM2MAudioProfileReq::pGenerator
BYTE * pGenerator
Definition: qaGobiApiSwiAudio.h:130
SetM2MAudioVolumeReq::Generator
BYTE Generator
Definition: qaGobiApiSwiAudio.h:219
GetM2MSpkrGainReq
Definition: qaGobiApiSwiAudio.h:354
SLQSGetM2MAudioVolume
ULONG SLQSGetM2MAudioVolume(GetM2MAudioVolumeReq *pGetM2MAudioVolumeReq, GetM2MAudioVolumeResp *pGetM2MAudioVolumeResp)
SLQSGetM2MAVMute
ULONG SLQSGetM2MAVMute(GetM2MAVMuteReq *pGetM2MAVMuteReq, GetM2MAVMuteResp *pGetM2MAVMuteResp)
GetM2MAudioVolumeReq::Profile
BYTE Profile
Definition: qaGobiApiSwiAudio.h:164
SetM2MAudioVolumeReq::Level
BYTE Level
Definition: qaGobiApiSwiAudio.h:220
GetM2MAVMuteResp
Definition: qaGobiApiSwiAudio.h:456
ULONG
unsigned long ULONG
Definition: SwiDataTypes.h:25
GetM2MAVMuteReq
Definition: qaGobiApiSwiAudio.h:434
SetM2MAudioProfileReq
Definition: qaGobiApiSwiAudio.h:125
GetM2MAudioProfileReq
Definition: qaGobiApiSwiAudio.h:29
SetM2MAudioProfileReq::pMicMute
BYTE * pMicMute
Definition: qaGobiApiSwiAudio.h:129
SetM2MAVMuteReq
Definition: qaGobiApiSwiAudio.h:502
GetM2MAudioProfileReq::pGenerator
BYTE * pGenerator
Definition: qaGobiApiSwiAudio.h:31
PCMparams
Definition: qaGobiApiSwiAudio.h:251
SetM2MAudioProfileReq::pCwtMute
BYTE * pCwtMute
Definition: qaGobiApiSwiAudio.h:132
SetM2MSpkrGainReq::Profile
BYTE Profile
Definition: qaGobiApiSwiAudio.h:406
SetM2MAVMuteReq::Profile
BYTE Profile
Definition: qaGobiApiSwiAudio.h:504
SLQSSetM2MAudioNVDef
ULONG SLQSSetM2MAudioNVDef()
SLQSSetM2MAudioVolume
ULONG SLQSSetM2MAudioVolume(SetM2MAudioVolumeReq *pSetM2MAudioVolumeReq)
GetM2MAVMuteReq::Profile
BYTE Profile
Definition: qaGobiApiSwiAudio.h:436
SetM2MAudioProfileReq::pVolume
BYTE * pVolume
Definition: qaGobiApiSwiAudio.h:131
GetM2MAudioProfileResp::Volume
BYTE Volume
Definition: qaGobiApiSwiAudio.h:71
GetM2MAudioVolumeResp
Definition: qaGobiApiSwiAudio.h:176
SetM2MAudioLPBKReq
Definition: qaGobiApiSwiAudio.h:313
WORD
unsigned short WORD
Definition: SwiDataTypes.h:30
GetM2MSpkrGainReq::Profile
BYTE Profile
Definition: qaGobiApiSwiAudio.h:356
GetM2MSpkrGainResp::Value
WORD Value
Definition: qaGobiApiSwiAudio.h:369
GetM2MAudioProfileResp::Generator
BYTE Generator
Definition: qaGobiApiSwiAudio.h:70
GetM2MAudioVolumeResp::Level
BYTE Level
Definition: qaGobiApiSwiAudio.h:178