![]() |
RA Flexible Software Package Documentation
Release v6.2.0
|
|
Minimalistic, single-header library for decoding MP3.
Integration of minimp3 library with FSP RA.
For detailed usage of minimp3, please visit https://github.com/lieff/minimp3.
Helium (with SIMD support) can be enabled to accelerate the decoding process on devices that support it.
Minimp3 requires a MCU with 32KB of RAM size or more to function properly.
Minimum stack usage is 18KB that must be considered the stack size under BSP configuration tab to ensure provide enough stack for the software operation.
This library uses floating-point numbers in its operation, therefore it shall be used on MCUs that have FPU. Non-FPUs are still able to use this library but the performance will be significantly degraded.
To use minimp3 library, follow the steps below:
| Configuration | Options | Default | Description |
|---|---|---|---|
| Float Output |
| Disabled | Output PCM as float instead of short |
| SIMD Optimization |
| Disabled | Enable SIMD optimization for MP3 decoding using Arm Helium (MVE). |
| Decode MP3 only |
| Disabled | Enable this option to skip MP1/MP2 and only support MP3 decoding. |
This is a basic example demonstrating minimal usage of the minimp3 library implementation in an application.
This example demonstrates streaming usage of the minimp3 library implementation in an application.