![]() |
MT2523 API Reference
LinkIt SDK v4
|
The MP3 codec is used for MP3 playback. More...
The MP3 codec is used for MP3 playback.
Functions | |
| mp3_codec_function_return_state_t | mp3_codec_get_memory_size (uint32_t *memory_size) |
| This function gets the memory requirement of MP3 decoder. More... | |
| mp3_codec_function_return_state_t | mp3_codec_set_memory (uint8_t *memory) |
| This function sets the memory for MP3 decoder. More... | |
| mp3_codec_function_return_state_t | mp3_codec_set_memory2 (void) |
| This function sets the memory for MP3 decoder. More... | |
| mp3_codec_media_handle_t * | mp3_codec_open (mp3_codec_callback_t callback) |
| This function opens the MP3 codec. More... | |
| mp3_codec_function_return_state_t | mp3_codec_close (mp3_codec_media_handle_t *handle) |
| This function closes the MP3 codec. More... | |
| mp3_codec_function_return_state_t | mp3_codec_aws_set_flag (mp3_codec_media_handle_t *handle, bool flag) |
| This function sets the advanced wireless stereo flag. More... | |
| mp3_codec_function_return_state_t | mp3_codec_aws_set_initial_sync (mp3_codec_media_handle_t *handle) |
| This function sets the advanced wireless stereo initial synchronization. More... | |
Modules | |
| Enum | |
| Struct | |
| Typedef | |
| mp3_codec_function_return_state_t mp3_codec_aws_set_flag | ( | mp3_codec_media_handle_t * | handle, |
| bool | flag | ||
| ) |
This function sets the advanced wireless stereo flag.
| [in] | handle | is the mp3 codec handle. |
| [in] | flag | is used to determine to turn on or turn off AWS mechanism. 1: turn on AWS, 0: turn off AWS. |
| mp3_codec_function_return_state_t mp3_codec_aws_set_initial_sync | ( | mp3_codec_media_handle_t * | handle | ) |
This function sets the advanced wireless stereo initial synchronization.
| [in] | handle | is the mp3 codec handle. |
| mp3_codec_function_return_state_t mp3_codec_close | ( | mp3_codec_media_handle_t * | handle | ) |
This function closes the MP3 codec.
| [in] | handle | is the MP3 codec handle. |
| mp3_codec_function_return_state_t mp3_codec_get_memory_size | ( | uint32_t * | memory_size | ) |
This function gets the memory requirement of MP3 decoder.
| [in] | memory_size | is a pointer to get the memory requirment of MP3 decoder. |
| mp3_codec_media_handle_t* mp3_codec_open | ( | mp3_codec_callback_t | callback | ) |
This function opens the MP3 codec.
| [in] | callback | is a pointer to the callback function for the MP3 data control. |
| mp3_codec_function_return_state_t mp3_codec_set_memory | ( | uint8_t * | memory | ) |
This function sets the memory for MP3 decoder.
| [in] | memory | is a pointer to set the memory for MP3 decoder. The memory size should be the same size as mp3_codec_get_memory_size(). |
| mp3_codec_function_return_state_t mp3_codec_set_memory2 | ( | void | ) |
This function sets the memory for MP3 decoder.