| Maestro Audio Framework v 1.0 NXP Semiconductors

Functions
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_ERROR | Function succeeded
  ERRCODE_GENERAL_ERROR | Error initializing OSA. Memory allocations failed.

## ◆ osa_deinit()

int osa_deinit | ( | void |  | ) |

Free the OSA structures

Return values

  ERRCODE_NO_ERROR | Function succeeded
  ERRCODE_GENERAL_ERROR | Error deinitializing OSA. Memory free failed.