MP3デコーダー

MP3 Decoder

MP3形式で提供されるオーディオデータストリームをデコードします。

Decode an audio data stream provided in MP3 format.

アプリケーション例

Application Examples

このAPIの実装は、次の例で示されています:

Implementation of this API is demonstrated in the following examples:

APIリファレンス

API Reference

ヘッダーファイル

Header File

関数

Functions
audio_element_handle_t mp3_decoder_init(mp3_decoder_cfg_t *config)

着信MP3データをデコードするためのオーディオ要素ハンドルを作成します。

Create an Audio Element handle to decode incoming MP3 data.

Return
オーディオエレメントハンドル
The audio element handle
Parameters
  • config: 構成
    config: The configuration

構造体

Structures
struct mp3_decoder_cfg_t

Mp3デコーダーの構成。

Mp3 Decoder configuration.

Public Members

int out_rb_size

出力リングバッファのサイズ

Size of output ringbuffer
int task_stack

タスクスタックサイズ

Task stack size
int task_core

デコーダータスクが実行されているCPUコア番号(0または1)

CPU core number (0 or 1) where decoder task in running
int task_prio

タスクの優先度(freeRTOSの優先度に基づく)

Task priority (based on freeRTOS priority)

マクロ

Macros
MP3_DECODER_TASK_STACK_SIZE
MP3_DECODER_TASK_CORE
MP3_DECODER_TASK_PRIO
MP3_DECODER_RINGBUFFER_SIZE
DEFAULT_MP3_DECODER_CONFIG()