Snapdragon® Telematics Application Framework (TelAF) Interface Specification
taf_audio_messages.h File Reference
#include "taf_audio_common.h"

Go to the source code of this file.

Macros

#define _MAX_MSG_SIZE   IFGEN_TAF_AUDIO_MSG_SIZE
 
#define _MSGID_taf_audio_Close   0
 
#define _MSGID_taf_audio_CreateConnector   1
 
#define _MSGID_taf_audio_DeleteConnector   2
 
#define _MSGID_taf_audio_Connect   3
 
#define _MSGID_taf_audio_Disconnect   4
 
#define _MSGID_taf_audio_OpenSpeaker   5
 
#define _MSGID_taf_audio_OpenMic   6
 
#define _MSGID_taf_audio_OpenModemVoiceRx   7
 
#define _MSGID_taf_audio_OpenModemVoiceTx   8
 
#define _MSGID_taf_audio_PlayDtmf   9
 
#define _MSGID_taf_audio_Mute   10
 
#define _MSGID_taf_audio_Unmute   11
 
#define _MSGID_taf_audio_OpenPlayer   12
 
#define _MSGID_taf_audio_PlayFile   13
 
#define _MSGID_taf_audio_OpenRecorder   14
 
#define _MSGID_taf_audio_RecordFile   15
 
#define _MSGID_taf_audio_AddMediaHandler   16
 
#define _MSGID_taf_audio_RemoveMediaHandler   17
 
#define _MSGID_taf_audio_AddDtmfDetectorHandler   18
 
#define _MSGID_taf_audio_RemoveDtmfDetectorHandler   19
 
#define _MSGID_taf_audio_Stop   20
 
#define _MSGID_taf_audio_SetGain   21
 
#define _MSGID_taf_audio_GetGain   22
 
#define _MSGID_taf_audio_EnableNoiseSuppressor   23
 
#define _MSGID_taf_audio_EnableEchoCanceller   24
 
#define _MSGID_taf_audio_DisableNoiseSuppressor   25
 
#define _MSGID_taf_audio_DisableEchoCanceller   26
 
#define _MSGID_taf_audio_IsEchoCancellerEnabled   27
 
#define _MSGID_taf_audio_IsNoiseSuppressorEnabled   28
 
#define _MSGID_taf_audio_OpenI2sRx   29
 
#define _MSGID_taf_audio_OpenI2sTx   30
 
#define _MSGID_taf_audio_OpenPcmRx   31
 
#define _MSGID_taf_audio_OpenPcmTx   32
 
#define _MSGID_taf_audio_SetSamplePcmSamplingRate   33
 
#define _MSGID_taf_audio_GetSamplePcmSamplingRate   34
 
#define _MSGID_taf_audio_SetSamplePcmChannelNumber   35
 
#define _MSGID_taf_audio_GetSamplePcmChannelNumber   36
 
#define _MSGID_taf_audio_SetEncodingFormat   37
 
#define _MSGID_taf_audio_GetEncodingFormat   38
 

Functions

struct __attribute__ ((packed))
 
static bool taf_audio_PackMediaEvent (uint8_t **bufferPtr, taf_audio_MediaEvent_t value)
 
static bool taf_audio_UnpackMediaEvent (uint8_t **bufferPtr, taf_audio_MediaEvent_t *valuePtr)
 
static bool taf_audio_PackFormat (uint8_t **bufferPtr, taf_audio_Format_t value)
 
static bool taf_audio_UnpackFormat (uint8_t **bufferPtr, taf_audio_Format_t *valuePtr)
 
static bool taf_audio_PackAmrMode (uint8_t **bufferPtr, taf_audio_AmrMode_t value)
 
static bool taf_audio_UnpackAmrMode (uint8_t **bufferPtr, taf_audio_AmrMode_t *valuePtr)
 
static bool taf_audio_PackI2SChannel (uint8_t **bufferPtr, taf_audio_I2SChannel_t value)
 
static bool taf_audio_UnpackI2SChannel (uint8_t **bufferPtr, taf_audio_I2SChannel_t *valuePtr)
 

Variables

 _Message_t
 

Macro Definition Documentation

◆ _MAX_MSG_SIZE

#define _MAX_MSG_SIZE   IFGEN_TAF_AUDIO_MSG_SIZE

◆ _MSGID_taf_audio_Close

#define _MSGID_taf_audio_Close   0

◆ _MSGID_taf_audio_CreateConnector

#define _MSGID_taf_audio_CreateConnector   1

◆ _MSGID_taf_audio_DeleteConnector

#define _MSGID_taf_audio_DeleteConnector   2

◆ _MSGID_taf_audio_Connect

#define _MSGID_taf_audio_Connect   3

◆ _MSGID_taf_audio_Disconnect

#define _MSGID_taf_audio_Disconnect   4

◆ _MSGID_taf_audio_OpenSpeaker

#define _MSGID_taf_audio_OpenSpeaker   5

◆ _MSGID_taf_audio_OpenMic

#define _MSGID_taf_audio_OpenMic   6

◆ _MSGID_taf_audio_OpenModemVoiceRx

#define _MSGID_taf_audio_OpenModemVoiceRx   7

◆ _MSGID_taf_audio_OpenModemVoiceTx

#define _MSGID_taf_audio_OpenModemVoiceTx   8

◆ _MSGID_taf_audio_PlayDtmf

#define _MSGID_taf_audio_PlayDtmf   9

◆ _MSGID_taf_audio_Mute

#define _MSGID_taf_audio_Mute   10

◆ _MSGID_taf_audio_Unmute

#define _MSGID_taf_audio_Unmute   11

◆ _MSGID_taf_audio_OpenPlayer

#define _MSGID_taf_audio_OpenPlayer   12

◆ _MSGID_taf_audio_PlayFile

#define _MSGID_taf_audio_PlayFile   13

◆ _MSGID_taf_audio_OpenRecorder

#define _MSGID_taf_audio_OpenRecorder   14

◆ _MSGID_taf_audio_RecordFile

#define _MSGID_taf_audio_RecordFile   15

◆ _MSGID_taf_audio_AddMediaHandler

#define _MSGID_taf_audio_AddMediaHandler   16

◆ _MSGID_taf_audio_RemoveMediaHandler

#define _MSGID_taf_audio_RemoveMediaHandler   17

◆ _MSGID_taf_audio_AddDtmfDetectorHandler

#define _MSGID_taf_audio_AddDtmfDetectorHandler   18

◆ _MSGID_taf_audio_RemoveDtmfDetectorHandler

#define _MSGID_taf_audio_RemoveDtmfDetectorHandler   19

◆ _MSGID_taf_audio_Stop

#define _MSGID_taf_audio_Stop   20

◆ _MSGID_taf_audio_SetGain

#define _MSGID_taf_audio_SetGain   21

◆ _MSGID_taf_audio_GetGain

#define _MSGID_taf_audio_GetGain   22

◆ _MSGID_taf_audio_EnableNoiseSuppressor

#define _MSGID_taf_audio_EnableNoiseSuppressor   23

◆ _MSGID_taf_audio_EnableEchoCanceller

#define _MSGID_taf_audio_EnableEchoCanceller   24

◆ _MSGID_taf_audio_DisableNoiseSuppressor

#define _MSGID_taf_audio_DisableNoiseSuppressor   25

◆ _MSGID_taf_audio_DisableEchoCanceller

#define _MSGID_taf_audio_DisableEchoCanceller   26

◆ _MSGID_taf_audio_IsEchoCancellerEnabled

#define _MSGID_taf_audio_IsEchoCancellerEnabled   27

◆ _MSGID_taf_audio_IsNoiseSuppressorEnabled

#define _MSGID_taf_audio_IsNoiseSuppressorEnabled   28

◆ _MSGID_taf_audio_OpenI2sRx

#define _MSGID_taf_audio_OpenI2sRx   29

◆ _MSGID_taf_audio_OpenI2sTx

#define _MSGID_taf_audio_OpenI2sTx   30

◆ _MSGID_taf_audio_OpenPcmRx

#define _MSGID_taf_audio_OpenPcmRx   31

◆ _MSGID_taf_audio_OpenPcmTx

#define _MSGID_taf_audio_OpenPcmTx   32

◆ _MSGID_taf_audio_SetSamplePcmSamplingRate

#define _MSGID_taf_audio_SetSamplePcmSamplingRate   33

◆ _MSGID_taf_audio_GetSamplePcmSamplingRate

#define _MSGID_taf_audio_GetSamplePcmSamplingRate   34

◆ _MSGID_taf_audio_SetSamplePcmChannelNumber

#define _MSGID_taf_audio_SetSamplePcmChannelNumber   35

◆ _MSGID_taf_audio_GetSamplePcmChannelNumber

#define _MSGID_taf_audio_GetSamplePcmChannelNumber   36

◆ _MSGID_taf_audio_SetEncodingFormat

#define _MSGID_taf_audio_SetEncodingFormat   37

◆ _MSGID_taf_audio_GetEncodingFormat

#define _MSGID_taf_audio_GetEncodingFormat   38

Function Documentation

◆ __attribute__()

struct __attribute__ ( (packed)  )

◆ taf_audio_PackMediaEvent()

static bool taf_audio_PackMediaEvent ( uint8_t **  bufferPtr,
taf_audio_MediaEvent_t  value 
)
inlinestatic

◆ taf_audio_UnpackMediaEvent()

static bool taf_audio_UnpackMediaEvent ( uint8_t **  bufferPtr,
taf_audio_MediaEvent_t valuePtr 
)
inlinestatic

◆ taf_audio_PackFormat()

static bool taf_audio_PackFormat ( uint8_t **  bufferPtr,
taf_audio_Format_t  value 
)
inlinestatic

◆ taf_audio_UnpackFormat()

static bool taf_audio_UnpackFormat ( uint8_t **  bufferPtr,
taf_audio_Format_t valuePtr 
)
inlinestatic

◆ taf_audio_PackAmrMode()

static bool taf_audio_PackAmrMode ( uint8_t **  bufferPtr,
taf_audio_AmrMode_t  value 
)
inlinestatic

◆ taf_audio_UnpackAmrMode()

static bool taf_audio_UnpackAmrMode ( uint8_t **  bufferPtr,
taf_audio_AmrMode_t valuePtr 
)
inlinestatic

◆ taf_audio_PackI2SChannel()

static bool taf_audio_PackI2SChannel ( uint8_t **  bufferPtr,
taf_audio_I2SChannel_t  value 
)
inlinestatic

◆ taf_audio_UnpackI2SChannel()

static bool taf_audio_UnpackI2SChannel ( uint8_t **  bufferPtr,
taf_audio_I2SChannel_t valuePtr 
)
inlinestatic

Variable Documentation

◆ _Message_t

_Message_t