AQtun.stb.vorbis 1.22.3

dotnet add package AQtun.stb.vorbis --version 1.22.3
                    
NuGet\Install-Package AQtun.stb.vorbis -Version 1.22.3
                    
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="AQtun.stb.vorbis" Version="1.22.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AQtun.stb.vorbis" Version="1.22.3" />
                    
Directory.Packages.props
<PackageReference Include="AQtun.stb.vorbis" />
                    
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 AQtun.stb.vorbis --version 1.22.3
                    
#r "nuget: AQtun.stb.vorbis, 1.22.3"
                    
#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 AQtun.stb.vorbis@1.22.3
                    
#: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=AQtun.stb.vorbis&version=1.22.3
                    
Install as a Cake Addin
#tool nuget:?package=AQtun.stb.vorbis&version=1.22.3
                    
Install as a Cake Tool

cross-platform C# bindings for stb_vorbis

Platform x86 x64 arm arm64
Windows ✓ ✓ ✗ ✓
Linux ✓ ✓ ✓ ✓
MacOS ✗ ✓ ✗ ✓
Android ✗ ✓ ✓ ✓
iOS ✗ ✓ ✗ ✓

This package bundles both dynamic and static libraries, in AoT builds the library will be statically linked.<br>

The library is compiled with STB_VORBIS_NO_STDIO, meaning that stb_vorbis_open_filename, stb_vorbis_open_file, stb_vorbis_open_file_section and stb_vorbis_decode_filename are absent.<br>

Method signatures

public static stb_vorbis_info get_info(stb_vorbis_handle file);

public static stb_vorbis_comment get_comment(stb_vorbis_handle file);

public static STBVorbisError get_error(stb_vorbis_handle file);

public static void close(stb_vorbis_handle file);

public static int get_sample_offset(stb_vorbis_handle file);

public static uint get_file_offset(stb_vorbis_handle file);

public static stb_vorbis_handle open_pushdata(byte* datablock, int datablock_length_in_bytes, ref int datablock_memory_consumed_in_bytes, out STBVorbisError error, stb_vorbis_alloc* alloc_buffer = null);
public static stb_vorbis_handle open_pushdata(byte* datablock, int datablock_length_in_bytes, int* datablock_memory_consumed_in_bytes, STBVorbisError* error, stb_vorbis_alloc* alloc_buffer = null);

public static int decode_frame_pushdata(stb_vorbis_handle file, byte* datablock, int datablock_length_in_bytes, out int channels, ref float** output, out int samples);
public static int decode_frame_pushdata(stb_vorbis_handle file, byte* datablock, int datablock_length_in_bytes, int* channels, float*** output, int* samples);

public static void flush_pushdata(stb_vorbis_handle file);

public static int decode_memory(byte* mem, int len, out int channels, out int sample_rate, ref short* output);
public static int decode_memory(byte* mem, int len, int* channels, int* sample_rate, short** output);

public static stb_vorbis_handle open_memory(byte* data, int len, out STBVorbisError error, stb_vorbis_alloc* alloc_buffer = null);
public static stb_vorbis_handle open_memory(byte* data, int len, STBVorbisError* error, stb_vorbis_alloc* alloc_buffer = null);

public static int seek_frame(stb_vorbis_handle file, uint sample_number);

public static int seek(stb_vorbis_handle file, uint sample_number);

public static int seek_start(stb_vorbis_handle file);

public static uint stream_length_in_samples(stb_vorbis_handle file);

public static float stream_length_in_seconds(stb_vorbis_handle file);

public static int get_frame_float(stb_vorbis_handle file, out int channels, ref float** output);
public static int get_frame_float(stb_vorbis_handle file, int* channels, float*** output);

public static int get_frame_short_interleaved(stb_vorbis_handle file, int num_c, short* buffer, int num_shorts);

public static int get_frame_short(stb_vorbis_handle file, int num_c, short** buffer, int num_samples);

public static int get_samples_float_interleaved(stb_vorbis_handle file, int channels, float* buffer, int num_floats);

public static int get_samples_float(stb_vorbis_handle file, int channels, float** buffer, int num_samples);

public static int get_samples_short_interleaved(stb_vorbis_handle file, int channels, short* buffer, int num_shorts);

public static int get_samples_short(stb_vorbis_handle file, int channels, short** buffer, int num_samples);
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.
  • net10.0

    • No dependencies.
  • net5.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.22.3 127 8/17/2026
1.22.2 112 8/17/2026
1.22.1 109 8/16/2026
1.22.0 115 8/14/2026