Maestro Audio Framework  v 1.0
NXP Semiconductors
osa_init.h File Reference

Contains initialization function prototypes for libosa. More...

Functions

int osa_init (void)
 Initialize the OSA library. More...
 
int osa_deinit (void)
 Deinitialize the OSA library. More...
 

Function Documentation

◆ osa_init()

int osa_init ( void  )

Some parts of the OSA need to be initialized before first use. This function performs the necessary initialization and allocations.

Return values
ERRCODE_NO_ERRORFunction succeeded
ERRCODE_GENERAL_ERRORError initializing OSA. Memory allocations failed.

◆ osa_deinit()

int osa_deinit ( void  )

Free the OSA structures

Return values
ERRCODE_NO_ERRORFunction succeeded
ERRCODE_GENERAL_ERRORError deinitializing OSA. Memory free failed.