Macros | Functions
audio_mem_mgnt.h File Reference

malloc management More...

#include <stdint.h>
#include <string.h>
Include dependency graph for audio_mem_mgnt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __ALIGN_END
 
#define AUDIO_MEM_HEAP_FAST   (int32_t)1U
 
#define AUDIO_MEM_HEAP_FASTB   (int32_t)3U
 
#define AUDIO_MEM_HEAP_SLOW   (int32_t)2U
 
#define AUDIO_MEM_NOCACHED   (int32_t)4U
 

Functions

void AudioFree (void *const pMemToFree, int32_t const type)
 
void * AudioMalloc (size_t const size, int32_t const type)
 
void CPU_CACHE_Flush (uint8_t *const buffer, uint32_t const length_in_bytes)
 

Detailed Description

malloc management

Author
MCD Application Team
Version
V2.2.0
Date
09-Februray-2021
Attention

This software component is licensed by ST under Ultimate Liberty license SLA0044, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: www.st.com/SLA0044

Definition in file audio_mem_mgnt.h.

Macro Definition Documentation

◆ __ALIGN_END

#define __ALIGN_END

Definition at line 49 of file audio_mem_mgnt.h.

◆ AUDIO_MEM_HEAP_FAST

#define AUDIO_MEM_HEAP_FAST   (int32_t)1U

Definition at line 27 of file audio_mem_mgnt.h.

◆ AUDIO_MEM_HEAP_FASTB

#define AUDIO_MEM_HEAP_FASTB   (int32_t)3U

Definition at line 29 of file audio_mem_mgnt.h.

◆ AUDIO_MEM_HEAP_SLOW

#define AUDIO_MEM_HEAP_SLOW   (int32_t)2U

Definition at line 28 of file audio_mem_mgnt.h.

◆ AUDIO_MEM_NOCACHED

#define AUDIO_MEM_NOCACHED   (int32_t)4U

Definition at line 30 of file audio_mem_mgnt.h.

Function Documentation

◆ AudioFree()

void AudioFree ( void *const  pMemToFree,
int32_t const  type 
)

Definition at line 146 of file audio_mem_mgnt.c.

◆ AudioMalloc()

void* AudioMalloc ( size_t const  size,
int32_t const  type 
)

Definition at line 121 of file audio_mem_mgnt.c.

◆ CPU_CACHE_Flush()

void CPU_CACHE_Flush ( uint8_t *const  buffer,
uint32_t const  length_in_bytes 
)

Definition at line 44 of file audio_mem_mgnt.c.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:55