WavProcess_HeaderInit() is only used within Audio_playback_and_record.
 
Symbols
loading...
Files
loading...

WavProcess_HeaderInit() function

Initialize the wave header file

Syntax

static uint32_t WavProcess_HeaderInit(uint8_t* pHeader,     WAVE_FormatTypeDef* pWaveFormatStruct);
Implemented in waverecorder.c:349

Arguments

pHeader

Header Buffer to be filled

pWaveFormatStruct

Pointer to the wave structure to be filled.

Return value

0 if passed, !0 if failed.

References

LocationReferrerText
waverecorder.c:349
static uint32_t WavProcess_HeaderInit(uint8_t* pHeader, WAVE_FormatTypeDef* pWaveFormatStruct)
waverecorder.c:34
static uint32_t WavProcess_HeaderInit(uint8_t* pHeader, WAVE_FormatTypeDef* pWaveFormatStruct);
waverecorder.c:336WavProcess_EncInit()
if(WavProcess_HeaderInit(pHeader, &WaveFormat))

Call Tree

Functions calling WavProcess_HeaderInit()
all items filtered out
WavProcess_HeaderInit()
Type of WavProcess_HeaderInit()
WavProcess_HeaderInit()
uint32_t
all items filtered out