SimpleAudioPlayer.Native 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package SimpleAudioPlayer.Native --version 2.0.0
                    
NuGet\Install-Package SimpleAudioPlayer.Native -Version 2.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SimpleAudioPlayer.Native" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SimpleAudioPlayer.Native" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="SimpleAudioPlayer.Native" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SimpleAudioPlayer.Native --version 2.0.0
                    
#r "nuget: SimpleAudioPlayer.Native, 2.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SimpleAudioPlayer.Native@2.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SimpleAudioPlayer.Native&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=SimpleAudioPlayer.Native&version=2.0.0
                    
Install as a Cake Tool

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
  • 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.0

Version 2.0 updates the native callback contract used by SimpleAudioPlayer. It adds 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.0.0 with a SimpleAudioPlayer version that targets the 2.0 native API. Older managed packages may not call the updated native entry points correctly.

Dependencies

  • FFmpeg (version >= 6.1)
  • miniaudio (version >= 0.11)
  • C++17 compatible compiler

Building

Refer to GitHub Actions CI.yml

License Information

This project is licensed under LGPL-3.0. Key requirements:

  1. Dynamic linking allows proprietary use
  2. Modifications must be open-sourced
  3. Original copyright notices must be preserved

Acknowledgments

This project stands on the shoulders of:

License

license

There are no supported framework assets in this package.

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 202 7/25/2026
2.3.0 133 7/25/2026
2.2.0 155 7/22/2026
2.1.1 133 6/24/2026
2.1.0 138 6/23/2026
2.0.0 147 6/11/2026
1.8.3 129 6/11/2026
1.8.2 191 5/25/2026
1.8.1 151 4/27/2026
1.8.0 501 4/16/2025
1.7.0 358 4/15/2025
1.6.0 266 3/27/2025
1.5.0 269 3/13/2025
1.4.0 309 3/12/2025
1.3.0 282 3/11/2025
1.2.0 337 3/9/2025
1.1.0 356 3/7/2025
1.0.0 351 3/6/2025