![]() |
MT2523 API Reference
LinkIt SDK v4
|
Enumerations | |
| enum | mp3_codec_event_t { MP3_CODEC_MEDIA_OK = 0, MP3_CODEC_MEDIA_REQUEST, MP3_CODEC_MEDIA_UNDERFLOW, MP3_CODEC_MEDIA_JUMP_FILE_TO, MP3_CODEC_AWS_CHECK_CLOCK_SKEW, MP3_CODEC_AWS_CHECK_UNDERFLOW, MP3_CODEC_MEDIA_BITSTREAM_END } |
| This enumeration defines the MP3 codec events. More... | |
| enum | mp3_codec_state_t { MP3_CODEC_STATE_ERROR = -1, MP3_CODEC_STATE_IDLE, MP3_CODEC_STATE_READY, MP3_CODEC_STATE_PLAY, MP3_CODEC_STATE_PAUSE, MP3_CODEC_STATE_STOP } |
| MP3 codec state. More... | |
| enum | mp3_codec_function_return_state_t { MP3_CODEC_RETURN_ERROR = -1, MP3_CODEC_RETURN_OK = 0 } |
| enum | mp3_codec_data_type_t { MP3_CODEC_DATA_TYPE_AUDIO = 1, MP3_CODEC_DATA_TYPE_SAMPLES_PER_CHANNEL = 2 } |
| enum mp3_codec_event_t |
This enumeration defines the MP3 codec events.
| Enumerator | |
|---|---|
| MP3_CODEC_MEDIA_OK |
The codec operation was successful. |
| MP3_CODEC_MEDIA_REQUEST |
The MP3 codec requested a bitstream. |
| MP3_CODEC_MEDIA_UNDERFLOW |
The bitstream has an underflow. |
| MP3_CODEC_MEDIA_JUMP_FILE_TO |
The MP3 codec requested to jump to specific position on the file. The position is jump_file_to_specified_position which is a member of mp3_media_handle_s. |
| MP3_CODEC_MEDIA_BITSTREAM_END |
Tha MP3 codec play constant array end. |
| enum mp3_codec_state_t |
MP3 codec state.