SimpleAudioPlayer.Native
2.1.0
See the version list below for details.
dotnet add package SimpleAudioPlayer.Native --version 2.1.0
NuGet\Install-Package SimpleAudioPlayer.Native -Version 2.1.0
<PackageReference Include="SimpleAudioPlayer.Native" Version="2.1.0" />
<PackageVersion Include="SimpleAudioPlayer.Native" Version="2.1.0" />
<PackageReference Include="SimpleAudioPlayer.Native" />
paket add SimpleAudioPlayer.Native --version 2.1.0
#r "nuget: SimpleAudioPlayer.Native, 2.1.0"
#:package SimpleAudioPlayer.Native@2.1.0
#addin nuget:?package=SimpleAudioPlayer.Native&version=2.1.0
#tool nuget:?package=SimpleAudioPlayer.Native&version=2.1.0
SimpleAudioPlayer Native Library
Introduction
This repository contains the native library for the SimpleAudioPlayer project. Built on miniaudio framework and FFmpeg multimedia decoding library, it provides cross-platform audio decoding and playback capabilities.
Key Features
- FFmpeg-based audio decoding with common format support
- Cross-platform audio backend via miniaudio
- Stream playback and audio resampling support
- Native recording support for PCM, WAV, AAC, and M4A outputs
- Decoder callback support for stream length and seek capability
- Propagates stream and decoder failures separately from normal EOF
- Clean C/C++ API interface
Version 2.1
Version 2.1 adds native recording APIs. It supports PCM streams, WAV, AAC ADTS, and M4A output, including callback-based stream output for managed callers.
Version 2.0 updated the native callback contract used by SimpleAudioPlayer. It added explicit stream length and seek capability callbacks, preserves decode failure results, and reports I/O failures separately from normal end-of-stream completion.
Use SimpleAudioPlayer.Native 2.1.0 with a SimpleAudioPlayer version that targets the 2.1 native API. Older managed packages may not call the updated native entry points correctly.
Dependencies
Building
Refer to GitHub Actions CI.yml
License Information
This project is licensed under LGPL-3.0. Key requirements:
- Dynamic linking allows proprietary use
- Modifications must be open-sourced
- Original copyright notices must be preserved
Acknowledgments
This project stands on the shoulders of:
- FFmpeg (LGPL-2.1+/GPLv2+) https://ffmpeg.org/
- miniaudio (Public Domain/DMIT) https://miniaud.io/
- miniaudio-ffmpeg-decoder (Public Domain/DMIT) https://github.com/Mr-Ojii/miniaudio-ffmpeg-decoder
License
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SimpleAudioPlayer.Native:
| Package | Downloads |
|---|---|
|
SimpleAudioPlayer
Simple Audio Player with miniaudio and ffmpeg |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.3.1 | 199 | 7/25/2026 |
| 2.3.0 | 133 | 7/25/2026 |
| 2.2.0 | 154 | 7/22/2026 |
| 2.1.1 | 132 | 6/24/2026 |
| 2.1.0 | 137 | 6/23/2026 |
| 2.0.0 | 146 | 6/11/2026 |
| 1.8.3 | 128 | 6/11/2026 |
| 1.8.2 | 191 | 5/25/2026 |
| 1.8.1 | 151 | 4/27/2026 |
| 1.8.0 | 500 | 4/16/2025 |
| 1.7.0 | 357 | 4/15/2025 |
| 1.6.0 | 265 | 3/27/2025 |
| 1.5.0 | 268 | 3/13/2025 |
| 1.4.0 | 308 | 3/12/2025 |
| 1.3.0 | 281 | 3/11/2025 |
| 1.2.0 | 336 | 3/9/2025 |
| 1.1.0 | 355 | 3/7/2025 |
| 1.0.0 | 350 | 3/6/2025 |