SOURCE DUMP v1

This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit fb20299e9d
177 changed files with 768360 additions and 0 deletions

View file

@ -0,0 +1,14 @@
// <auto-generated/>
// Generated by Brutal.Sdl.Generate; do not edit by hand.
#nullable enable
namespace Brutal.SdlApi.Image
{
public enum ImgAnimationDecoderStatus
{
Invalid = -1,
Ok = 0,
Failed = 1,
Complete = 2,
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,60 @@
// <auto-generated/>
// Generated by Brutal.Sdl.Generate; do not edit by hand.
#nullable enable
namespace Brutal.SdlApi.Image
{
public static unsafe partial class SdlImage
{
public static class Constants
{
public const string PropAnimationDecoderCreateAvifAllowIncrementalBoolean =
"SDL_image.animation_decoder.create.avif.allow_incremental";
public const string PropAnimationDecoderCreateAvifAllowProgressiveBoolean =
"SDL_image.animation_decoder.create.avif.allow_progressive";
public const string PropAnimationDecoderCreateAvifMaxThreadsNumber =
"SDL_image.animation_decoder.create.avif.max_threads";
public const string PropAnimationDecoderCreateFilenameString =
"SDL_image.animation_decoder.create.filename";
public const string PropAnimationDecoderCreateGifNumColorsNumber =
"SDL_image.animation_encoder.create.gif.num_colors";
public const string PropAnimationDecoderCreateGifTransparentColorIndexNumber =
"SDL_image.animation_encoder.create.gif.transparent_color_index";
public const string PropAnimationDecoderCreateIostreamAutocloseBoolean =
"SDL_image.animation_decoder.create.iostream.autoclose";
public const string PropAnimationDecoderCreateIostreamPointer =
"SDL_image.animation_decoder.create.iostream";
public const string PropAnimationDecoderCreateTimebaseDenominatorNumber =
"SDL_image.animation_decoder.create.timebase.denominator";
public const string PropAnimationDecoderCreateTimebaseNumeratorNumber =
"SDL_image.animation_decoder.create.timebase.numerator";
public const string PropAnimationDecoderCreateTypeString = "SDL_image.animation_decoder.create.type";
public const string PropAnimationEncoderCreateAvifKeyframeIntervalNumber =
"SDL_image.animation_encoder.create.avif.keyframe_interval";
public const string PropAnimationEncoderCreateAvifMaxThreadsNumber =
"SDL_image.animation_encoder.create.avif.max_threads";
public const string PropAnimationEncoderCreateFilenameString =
"SDL_image.animation_encoder.create.filename";
public const string PropAnimationEncoderCreateGifUseLutBoolean =
"SDL_image.animation_encoder.create.gif.use_lut";
public const string PropAnimationEncoderCreateIostreamAutocloseBoolean =
"SDL_image.animation_encoder.create.iostream.autoclose";
public const string PropAnimationEncoderCreateIostreamPointer =
"SDL_image.animation_encoder.create.iostream";
public const string PropAnimationEncoderCreateQualityNumber = "SDL_image.animation_encoder.create.quality";
public const string PropAnimationEncoderCreateTimebaseDenominatorNumber =
"SDL_image.animation_encoder.create.timebase.denominator";
public const string PropAnimationEncoderCreateTimebaseNumeratorNumber =
"SDL_image.animation_encoder.create.timebase.numerator";
public const string PropAnimationEncoderCreateTypeString = "SDL_image.animation_encoder.create.type";
public const string PropMetadataAuthorString = "SDL_image.metadata.author";
public const string PropMetadataCopyrightString = "SDL_image.metadata.copyright";
public const string PropMetadataCreationTimeString = "SDL_image.metadata.creation_time";
public const string PropMetadataDescriptionString = "SDL_image.metadata.description";
public const string PropMetadataFrameCountNumber = "SDL_image.metadata.frame_count";
public const string PropMetadataIgnorePropsBoolean = "SDL_image.metadata.ignore_props";
public const string PropMetadataLoopCountNumber = "SDL_image.metadata.loop_count";
public const string PropMetadataTitleString = "SDL_image.metadata.title";
}
}
}

View file

@ -0,0 +1,5 @@
// <auto-generated/>
// Generated by Brutal.Sdl.Generate; do not edit by hand.
#nullable enable
namespace Brutal.SdlApi.Image { }

View file

@ -0,0 +1,211 @@
// <auto-generated/>
// Generated by Brutal.Sdl.Generate; do not edit by hand.
#nullable enable
namespace Brutal.SdlApi.Image
{
public readonly unsafe partial struct ImgAnimationDecoder
{
/// <summary>
/// Close an animation decoder, finishing any decoding.
/// </summary>
/// <returns>
/// true on success or false on failure; call SDL_GetError() for more
/// information.
/// </returns>
/// <remarks>
/// <para>
/// Calling this function frees the animation decoder, and returns the final
/// status of the decoding process.
/// </para>
/// <para>
/// This is equivalent to Dispose(): it is a safe no-op on a default (null) handle and otherwise performs
/// the single native free. Because a handle is a copyable value type, it cannot invalidate its own copies
/// after the free, so calling this (or Dispose) more than once on the same handle value — or on separate
/// copies of it — frees the underlying native object more than once. Free each handle exactly once.
/// </para>
/// </remarks>
/// <since>
/// This function is available since SDL_image 3.4.0.
/// </since>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationDecoder"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationDecoderIO"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationDecoderWithProperties"/>
public bool Close()
{
if (IsNull())
{
return default;
}
return SdlImage.CloseAnimationDecoder(this);
}
/// <summary>
/// Get the next frame in an animation decoder.
/// </summary>
/// <param name="frame">
/// a pointer filled in with the SDL_Surface for the next frame in
/// the animation.
/// </param>
/// <param name="duration">
/// the duration of the frame, usually in milliseconds but can
/// be other units if the
/// <c>IMG_PROP_ANIMATION_DECODER_CREATE_TIMEBASE_DENOMINATOR_NUMBER</c>
/// property is set when creating the decoder.
/// </param>
/// <returns>
/// true on success or false on failure and when no more frames are
/// available; call IMG_GetAnimationDecoderStatus() or SDL_GetError()
/// for more information.
/// </returns>
/// <remarks>
/// <para>
/// This function decodes the next frame in the animation decoder, returning it
/// as an SDL_Surface. The returned surface should be freed with
/// SDL_FreeSurface() when no longer needed.
/// </para>
/// <para>
/// If the animation decoder has no more frames or an error occurred while
/// decoding the frame, this function returns false. In that case, please call
/// SDL_GetError() for more information. If SDL_GetError() returns an empty
/// string, that means there are no more available frames. If SDL_GetError()
/// returns a valid string, that means the decoding failed.
/// </para>
/// </remarks>
/// <since>
/// This function is available since SDL_image 3.4.0.
/// </since>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationDecoder"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationDecoderIO"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationDecoderWithProperties"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.GetAnimationDecoderStatus"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.ResetAnimationDecoder"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CloseAnimationDecoder"/>
public bool GetFrame(SdlSurface** frame, out ulong duration) =>
SdlImage.GetAnimationDecoderFrame(this, frame, out duration);
/// <summary>
/// Get the properties of an animation decoder.
/// </summary>
/// <returns>
/// the properties ID of the animation decoder, or 0 if there are no
/// properties; call SDL_GetError() for more information.
/// </returns>
/// <remarks>
/// <para>
/// This function returns the properties of the animation decoder, which holds
/// information about the underlying image such as description, copyright text
/// and loop count.
/// </para>
/// <para>
/// <c>IMG_PROP_METADATA_LOOP_COUNT_NUMBER</c>, if present, specifies the number of times to play the
/// animation, with 0 meaning loop continuously.
/// </para>
/// </remarks>
/// <since>
/// This function is available since SDL_image 3.4.0.
/// </since>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationDecoder"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationDecoderIO"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationDecoderWithProperties"/>
public uint GetProperties() => SdlImage.GetAnimationDecoderProperties(this);
/// <summary>
/// Get the decoder status indicating the current state of the decoder.
/// </summary>
/// <returns>
/// the status of the underlying decoder, or
/// IMG_DECODER_STATUS_INVALID if the given decoder is invalid.
/// </returns>
/// <since>
/// This function is available since SDL_image 3.4.0.
/// </since>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.GetAnimationDecoderFrame"/>
public ImgAnimationDecoderStatus GetStatus() => SdlImage.GetAnimationDecoderStatus(this);
/// <summary>
/// Reset an animation decoder.
/// </summary>
/// <returns>
/// true on success or false on failure; call SDL_GetError() for more
/// information.
/// </returns>
/// <remarks>
/// <para>
/// Calling this function resets the animation decoder, allowing it to start
/// from the beginning again. This is useful if you want to decode the frame
/// sequence again without creating a new decoder.
/// </para>
/// </remarks>
/// <since>
/// This function is available since SDL_image 3.4.0.
/// </since>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationDecoder"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationDecoderIO"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationDecoderWithProperties"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.GetAnimationDecoderFrame"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CloseAnimationDecoder"/>
public bool Reset() => SdlImage.ResetAnimationDecoder(this);
}
public readonly unsafe partial struct ImgAnimationEncoder
{
/// <summary>
/// Add a frame to an animation encoder.
/// </summary>
/// <param name="surface">the surface to add as the next frame in the animation.</param>
/// <param name="duration">
/// the duration of the frame, usually in milliseconds but can
/// be other units if the
/// <c>IMG_PROP_ANIMATION_ENCODER_CREATE_TIMEBASE_DENOMINATOR_NUMBER</c>
/// property is set when creating the encoder.
/// </param>
/// <returns>
/// true on success or false on failure; call SDL_GetError() for more
/// information.
/// </returns>
/// <since>
/// This function is available since SDL_image 3.4.0.
/// </since>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationEncoder"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationEncoderIO"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationEncoderWithProperties"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CloseAnimationEncoder"/>
public bool AddFrame(SdlSurface* surface, ulong duration) =>
SdlImage.AddAnimationEncoderFrame(this, surface, duration);
/// <summary>
/// Close an animation encoder, finishing any encoding.
/// </summary>
/// <returns>
/// true on success or false on failure; call SDL_GetError() for more
/// information.
/// </returns>
/// <remarks>
/// <para>
/// Calling this function frees the animation encoder, and returns the final
/// status of the encoding process.
/// </para>
/// <para>
/// This is equivalent to Dispose(): it is a safe no-op on a default (null) handle and otherwise performs
/// the single native free. Because a handle is a copyable value type, it cannot invalidate its own copies
/// after the free, so calling this (or Dispose) more than once on the same handle value — or on separate
/// copies of it — frees the underlying native object more than once. Free each handle exactly once.
/// </para>
/// </remarks>
/// <since>
/// This function is available since SDL_image 3.4.0.
/// </since>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationEncoder"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationEncoderIO"/>
/// <seealso cref="Brutal.SdlApi.Image.SdlImage.PInvoke.CreateAnimationEncoderWithProperties"/>
public bool Close()
{
if (IsNull())
{
return default;
}
return SdlImage.CloseAnimationEncoder(this);
}
}
}

View file

@ -0,0 +1,44 @@
// <auto-generated/>
// Generated by Brutal.Sdl.Generate; do not edit by hand.
#nullable enable
using System;
using Brutal.Interop;
namespace Brutal.SdlApi.Image;
/// <summary>
/// A strongly-typed interop handle wrapping the opaque SDL <c>IMG_AnimationDecoder</c> pointer.
/// </summary>
[InteropHandle]
public readonly unsafe partial struct ImgAnimationDecoder : IDisposable
{
/// <inheritdoc/>
public void Dispose()
{
// A default/zeroed handle owns nothing; forwarding it to the native destructor is at
// best a wasted call and at worst undefined behaviour. Guard so Dispose is a safe no-op
// on a null handle (and so a double-dispose after the value was cleared is harmless).
if (IsNull())
return;
SdlImage.PInvoke.CloseAnimationDecoder(this);
}
}
/// <summary>
/// A strongly-typed interop handle wrapping the opaque SDL <c>IMG_AnimationEncoder</c> pointer.
/// </summary>
[InteropHandle]
public readonly unsafe partial struct ImgAnimationEncoder : IDisposable
{
/// <inheritdoc/>
public void Dispose()
{
// A default/zeroed handle owns nothing; forwarding it to the native destructor is at
// best a wasted call and at worst undefined behaviour. Guard so Dispose is a safe no-op
// on a null handle (and so a double-dispose after the value was cleared is harmless).
if (IsNull())
return;
SdlImage.PInvoke.CloseAnimationEncoder(this);
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,16 @@
// <auto-generated/>
// Generated by Brutal.Sdl.Generate; do not edit by hand.
#nullable enable
namespace Brutal.SdlApi.Image
{
[StructLayout(LayoutKind.Sequential)]
public unsafe partial struct ImgAnimation
{
public int w;
public int h;
public int count;
public SdlSurface** frames;
public int* delays;
}
}

View file

@ -0,0 +1,3 @@
global using System.Runtime.CompilerServices;
global using System.Runtime.InteropServices;
global using Brutal.SdlApi;

View file

@ -0,0 +1,217 @@
THIRD-PARTY LICENSE NOTICES
RocketWerkz.Brutal.Sdl.Image
This package redistributes third-party software. The licenses governing that software
are reproduced below in full.
WHAT THIS PACKAGE CONTAINS
One native library, on every runtime identifier the package supports
(win-x64, linux-x64, osx-arm64):
SDL_image 3.4.4 SDL3_image.dll / libSDL3_image.so / libSDL3_image.dylib
Five components maintained by third parties are compiled into that library and are
governed by their own licenses, one section each below:
stb_image the general image decoding backend
tiny_jpeg JPEG encoding
NanoSVG the SVG loader
QOI the QOI loader
XPaint parts of the GIF decoder
All five are present on every runtime identifier.
A NOTE ON SCOPE
This package depends on RocketWerkz.Brutal.Sdl and links against SDL3 at runtime.
SDL3 is not contained in this package and is covered by that package's own notices.
SDL_image can optionally be built against libpng, libjpeg, libtiff, libwebp, libavif,
dav1d, aom and libjxl. This build enables none of them, none is contained in the
shipped library, and none is attributed here.
==============================================================================
SDL_image
==============================================================================
Name SDL_image
Version 3.4.4
Upstream https://github.com/libsdl-org/SDL_image
SPDX Zlib
Shipped as SDL3_image.dll, libSDL3_image.so, libSDL3_image.dylib
Copyright (C) 1997-2026 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
==============================================================================
stb_image
==============================================================================
Name stb_image
Version as vendored by SDL_image 3.4.4
Upstream https://github.com/nothings/stb
SPDX MIT OR Unlicense
Shipped as compiled into SDL3_image.dll, libSDL3_image.so, libSDL3_image.dylib
stb_image is offered under two mutually exclusive licenses, both reproduced below
as upstream states them.
------------------------------------------------------------------------------
ALTERNATIVE A - MIT License
Copyright (c) 2017 Sean Barrett
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
------------------------------------------------------------------------------
ALTERNATIVE B - Public Domain (www.unlicense.org)
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
software, either in source code form or as a compiled binary, for any purpose,
commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this
software dedicate any and all copyright interest in the software to the public
domain. We make this dedication for the benefit of the public at large and to
the detriment of our heirs and successors. We intend this dedication to be an
overt act of relinquishment in perpetuity of all present and future rights to
this software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
------------------------------------------------------------------------------
==============================================================================
tiny_jpeg
==============================================================================
Name tiny_jpeg
Version as vendored by SDL_image 3.4.4
Upstream https://github.com/serge-rgb/TinyJPEG
SPDX LicenseRef-PublicDomain
Shipped as compiled into SDL3_image.dll, libSDL3_image.so, libSDL3_image.dylib
Tiny JPEG Encoder, by Sergio Gonzalez. Upstream states its terms as follows:
This software is in the public domain. Where that dedication is not
recognized, you are granted a perpetual, irrevocable license to copy and
modify this file as you see fit.
==============================================================================
NanoSVG
==============================================================================
Name NanoSVG
Version as vendored by SDL_image 3.4.4
Upstream https://github.com/memononen/nanosvg
SPDX Zlib
Shipped as compiled into SDL3_image.dll, libSDL3_image.so, libSDL3_image.dylib
Copyright (c) 2013-14 Mikko Mononen memon@inside.org
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
The SVG parser is based on Anti-Grain Geometry 2.4 SVG example
Copyright (C) 2002-2004 Maxim Shemanarev (McSeem) (http://www.antigrain.com/)
Arc calculation code based on canvg (https://code.google.com/p/canvg/)
Bounding box calculation based on http://blog.hackers-cafe.net/2009/06/how-to-calculate-bezier-curves-bounding.html
==============================================================================
QOI
==============================================================================
Name QOI
Version as vendored by SDL_image 3.4.4
Upstream https://github.com/phoboslab/qoi
SPDX MIT
Shipped as compiled into SDL3_image.dll, libSDL3_image.so, libSDL3_image.dylib
The "Quite OK Image" format, by Dominic Szablewski.
Copyright(c) 2021 Dominic Szablewski
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files(the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and / or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions :
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
==============================================================================
XPaint (parts of the GIF decoder)
==============================================================================
Name XPaint
Version as vendored by SDL_image 3.4.4 (the notice states 1990-1996)
Upstream https://sourceforge.net/projects/xpaint/
SPDX LicenseRef-XPaint (upstream states no identifier)
Shipped as compiled into SDL3_image.dll, libSDL3_image.so, libSDL3_image.dylib
SDL_image's GIF decoder adapts part of its code from XPaint. SDL_image says so in the
decoder itself and reproduces the original notice; both are reproduced below as
SDL_image states them. Upstream draws the notice inside an ASCII box; the frame is not
reproduced and no word of the notice is changed.
Some parts of the code have been adapted from XPaint:
Copyright 1990, 1991, 1993 David Koblas.
Copyright 1996 Torsten Martinsen.
Permission to use, copy, modify, and distribute this software
and its documentation for any purpose and without fee is hereby
granted, provided that the above copyright notice appear in all
copies and that both that copyright notice and this permission
notice appear in supporting documentation. This software is
provided "as is" without express or implied warranty.

View file

@ -0,0 +1,121 @@
using System.Reflection;
using Brutal.Logging;
namespace Brutal.SdlApi.Image;
/// <summary>
/// Provides access to the SDL_image library.
/// </summary>
public static unsafe partial class SdlImage
{
/// <summary>
/// The name the generated P/Invoke surface imports against. The <see cref="PInvoke"/> static
/// constructor registers a <see cref="NativeLibrary.SetDllImportResolver"/> that normalizes
/// this name to the platform-specific SDL3_image shared library.
/// </summary>
internal const string Dll = "SDL3_image";
/// <summary>
/// The logging category for the per-call trace logs the generated P/Invoke surface emits. An
/// internal implementation detail mirroring core's <c>Sdl.TraceLog</c>; the generated
/// <c>SdlImage.PInvoke</c> wrappers call <c>SdlImage.TraceLog.Trace()</c> on every invocation.
/// </summary>
internal static readonly LogCategory TraceLog = LogCategory.Make("SdlImage");
/// <summary>
/// Hosts the raw generated P/Invoke surface (filled in by a later task) and, for now, the
/// native library resolver that makes loading <c>SDL3_image</c> work.
/// </summary>
public static unsafe partial class PInvoke
{
// The native SDL3_image handle, resolved lazily by the DllImportResolver below and cached
// so the library is loaded at most once regardless of how many entry points are resolved.
private static nint _nativeHandle;
// Serializes resolution — see Brutal.Sdl's Sdl.PInvoke for the full rationale (two threads
// resolving different entry points concurrently must not race to load two handles).
private static readonly Lock ResolveLock = new();
// The resolver is registered in this static constructor rather than at first use so it is
// in place before ANY P/Invoke against this assembly is resolved. Accessing a member of the
// nested PInvoke type triggers this constructor (mirrors Brutal.Sdl's Sdl.PInvoke pattern).
static PInvoke()
{
// GUARANTEE: SDL3 must actually be loaded into the process before SDL3_image's own
// resolve runs below — SDL3_image's dylib/so/dll has a dynamic-link dependency on
// libSDL3 (@rpath/libSDL3.0.dylib on macOS, libSDL3.so.0 on Linux, SDL3.dll on
// Windows) that a nupkg-deployed app's probe layout cannot always be relied on to
// satisfy via rpath/loader-path alone (the CMake wrapper's INSTALL_RPATH is a second,
// belt-and-braces line of defense, not the primary guarantee).
//
// Merely running Sdl's or Sdl.PInvoke's static constructor is NOT sufficient: those
// constructors only *register* Brutal.Sdl's DllImportResolver
// (NativeLibrary.SetDllImportResolver) — the resolver is not invoked, and libSDL3 is
// not actually loaded, until the CLR resolves a real P/Invoke against it. So instead of
// RunClassConstructor, we make one real, side-effect-free P/Invoke call into core:
// Sdl.PInvoke.GetVersion() just reads SDL's compiled-in version number, requires no
// SDL_Init and has no observable side effects, but its LibraryImport binding is exactly
// what triggers Brutal.Sdl's resolver to actually NativeLibrary.Load libSDL3. By the
// time this call returns, libSDL3 is resident in the process, so SDL3_image's own
// dynamic-link dependency on it is satisfiable regardless of rpath/loader-path probing.
_ = Sdl.PInvoke.GetVersion();
NativeLibrary.SetDllImportResolver(typeof(SdlImage).Assembly, Resolve);
}
// Normalizes the "SDL3_image" import name to the platform-specific shared library filename
// (SDL3_image.dll on Windows, libSDL3_image.dylib on macOS, libSDL3_image.so.0 on Linux).
// SDL_image's Linux build installs a versioned soname (libSDL3_image.so.0), same convention
// as core's SDL3, so the candidate list is spelled out explicitly, most-specific first, with
// the default probing convention name as a fallback.
private static nint Resolve(string libraryName, Assembly assembly, DllImportSearchPath? searchPath)
{
// Only ever asked to resolve SDL3_image; anything else is left to the default resolver.
if (libraryName != Dll)
return IntPtr.Zero;
lock (ResolveLock)
{
if (_nativeHandle != IntPtr.Zero)
return _nativeHandle;
var search = searchPath ?? DllImportSearchPath.AssemblyDirectory;
// Try each candidate with Load (not TryLoad): TryLoad reports only pass/fail and
// discards the OS diagnostic, so a candidate that *exists but fails to load* (a
// missing transitive dependency, an ABI mismatch) would vanish silently. Load throws
// with the real dlerror/LoadLibrary text, which we aggregate so the final exception
// names every attempt and why it failed.
var failures = new List<string>();
foreach (var candidate in Candidates())
{
try
{
_nativeHandle = NativeLibrary.Load(candidate, assembly, search);
return _nativeHandle;
}
catch (Exception ex)
{
failures.Add($"'{candidate}': {ex.Message}");
}
}
throw new DllNotFoundException(
"Could not load the SDL3_image native library. Attempts (most specific first): "
+ string.Join("; ", failures)
+ "."
);
}
}
private static string[] Candidates()
{
if (OperatingSystem.IsWindows())
return ["SDL3_image.dll", "SDL3_image"];
if (OperatingSystem.IsMacOS())
return ["libSDL3_image.dylib", "SDL3_image"];
// Linux and other Unix-likes.
return ["libSDL3_image.so.0", "libSDL3_image.so", "SDL3_image"];
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,46 @@
// <auto-generated/>
// Generated by Brutal.Sdl.Generate; do not edit by hand.
#nullable enable
namespace Brutal.SdlApi.Mixer
{
public static unsafe partial class SdlMixer
{
public static class Constants
{
public const int DurationInfinite = -2;
public const int DurationUnknown = -1;
public const string PropAudioDecoderString = "SDL_mixer.audio.decoder";
public const string PropAudioLoadCloseioBoolean = "SDL_mixer.audio.load.closeio";
public const string PropAudioLoadIgnoreLoopsBoolean = "SDL_mixer.audio.load.ignore_loops";
public const string PropAudioLoadIostreamPointer = "SDL_mixer.audio.load.iostream";
public const string PropAudioLoadPredecodeBoolean = "SDL_mixer.audio.load.predecode";
public const string PropAudioLoadPreferredMixerPointer = "SDL_mixer.audio.load.preferred_mixer";
public const string PropAudioLoadSkipMetadataTagsBoolean = "SDL_mixer.audio.load.skip_metadata_tags";
public const string PropMetadataAlbumString = "SDL_mixer.metadata.album";
public const string PropMetadataArtistString = "SDL_mixer.metadata.artist";
public const string PropMetadataCopyrightString = "SDL_mixer.metadata.copyright";
public const string PropMetadataDurationFramesNumber = "SDL_mixer.metadata.duration_frames";
public const string PropMetadataDurationInfiniteBoolean = "SDL_mixer.metadata.duration_infinite";
public const string PropMetadataTitleString = "SDL_mixer.metadata.title";
public const string PropMetadataTotalTracksNumber = "SDL_mixer.metadata.total_tracks";
public const string PropMetadataTrackNumber = "SDL_mixer.metadata.track";
public const string PropMetadataYearNumber = "SDL_mixer.metadata.year";
public const string PropMixerDeviceNumber = "SDL_mixer.mixer.device";
public const string PropPlayAppendSilenceFramesNumber = "SDL_mixer.play.append_silence_frames";
public const string PropPlayAppendSilenceMillisecondsNumber = "SDL_mixer.play.append_silence_milliseconds";
public const string PropPlayFadeInFramesNumber = "SDL_mixer.play.fade_in_frames";
public const string PropPlayFadeInMillisecondsNumber = "SDL_mixer.play.fade_in_milliseconds";
public const string PropPlayFadeInStartGainFloat = "SDL_mixer.play.fade_in_start_gain";
public const string PropPlayHaltWhenExhaustedBoolean = "SDL_mixer.play.halt_when_exhausted";
public const string PropPlayLoopsNumber = "SDL_mixer.play.loops";
public const string PropPlayLoopStartFrameNumber = "SDL_mixer.play.loop_start_frame";
public const string PropPlayLoopStartMillisecondNumber = "SDL_mixer.play.loop_start_millisecond";
public const string PropPlayMaxFrameNumber = "SDL_mixer.play.max_frame";
public const string PropPlayMaxMillisecondsNumber = "SDL_mixer.play.max_milliseconds";
public const string PropPlayStartFrameNumber = "SDL_mixer.play.start_frame";
public const string PropPlayStartMillisecondNumber = "SDL_mixer.play.start_millisecond";
public const string PropPlayStartOrderNumber = "SDL_mixer.play.start_order";
}
}
}

View file

@ -0,0 +1,36 @@
// <auto-generated/>
// Generated by Brutal.Sdl.Generate; do not edit by hand.
#nullable enable
namespace Brutal.SdlApi.Mixer
{
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate void MixTrackStoppedCallback(void* userdata, MixTrack track);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate void MixTrackMixCallback(
void* userdata,
MixTrack track,
SdlAudioSpec* spec,
float* pcm,
int samples
);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate void MixGroupMixCallback(
void* userdata,
MixGroup group,
SdlAudioSpec* spec,
float* pcm,
int samples
);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate void MixPostMixCallback(
void* userdata,
MixMixer mixer,
SdlAudioSpec* spec,
float* pcm,
int samples
);
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,98 @@
// <auto-generated/>
// Generated by Brutal.Sdl.Generate; do not edit by hand.
#nullable enable
using System;
using Brutal.Interop;
namespace Brutal.SdlApi.Mixer;
/// <summary>
/// A strongly-typed interop handle wrapping the opaque SDL <c>MIX_Audio</c> pointer.
/// </summary>
[InteropHandle]
public readonly unsafe partial struct MixAudio : IDisposable
{
/// <inheritdoc/>
public void Dispose()
{
// A default/zeroed handle owns nothing; forwarding it to the native destructor is at
// best a wasted call and at worst undefined behaviour. Guard so Dispose is a safe no-op
// on a null handle (and so a double-dispose after the value was cleared is harmless).
if (IsNull())
return;
SdlMixer.PInvoke.DestroyAudio(this);
}
}
/// <summary>
/// A strongly-typed interop handle wrapping the opaque SDL <c>MIX_AudioDecoder</c> pointer.
/// </summary>
[InteropHandle]
public readonly unsafe partial struct MixAudioDecoder : IDisposable
{
/// <inheritdoc/>
public void Dispose()
{
// A default/zeroed handle owns nothing; forwarding it to the native destructor is at
// best a wasted call and at worst undefined behaviour. Guard so Dispose is a safe no-op
// on a null handle (and so a double-dispose after the value was cleared is harmless).
if (IsNull())
return;
SdlMixer.PInvoke.DestroyAudioDecoder(this);
}
}
/// <summary>
/// A strongly-typed interop handle wrapping the opaque SDL <c>MIX_Group</c> pointer.
/// </summary>
[InteropHandle]
public readonly unsafe partial struct MixGroup : IDisposable
{
/// <inheritdoc/>
public void Dispose()
{
// A default/zeroed handle owns nothing; forwarding it to the native destructor is at
// best a wasted call and at worst undefined behaviour. Guard so Dispose is a safe no-op
// on a null handle (and so a double-dispose after the value was cleared is harmless).
if (IsNull())
return;
SdlMixer.PInvoke.DestroyGroup(this);
}
}
/// <summary>
/// A strongly-typed interop handle wrapping the opaque SDL <c>MIX_Mixer</c> pointer.
/// </summary>
[InteropHandle]
public readonly unsafe partial struct MixMixer : IDisposable
{
/// <inheritdoc/>
public void Dispose()
{
// A default/zeroed handle owns nothing; forwarding it to the native destructor is at
// best a wasted call and at worst undefined behaviour. Guard so Dispose is a safe no-op
// on a null handle (and so a double-dispose after the value was cleared is harmless).
if (IsNull())
return;
SdlMixer.PInvoke.DestroyMixer(this);
}
}
/// <summary>
/// A strongly-typed interop handle wrapping the opaque SDL <c>MIX_Track</c> pointer.
/// </summary>
[InteropHandle]
public readonly unsafe partial struct MixTrack : IDisposable
{
/// <inheritdoc/>
public void Dispose()
{
// A default/zeroed handle owns nothing; forwarding it to the native destructor is at
// best a wasted call and at worst undefined behaviour. Guard so Dispose is a safe no-op
// on a null handle (and so a double-dispose after the value was cleared is harmless).
if (IsNull())
return;
SdlMixer.PInvoke.DestroyTrack(this);
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,21 @@
// <auto-generated/>
// Generated by Brutal.Sdl.Generate; do not edit by hand.
#nullable enable
namespace Brutal.SdlApi.Mixer
{
[StructLayout(LayoutKind.Sequential)]
public partial struct MixStereoGains
{
public float left;
public float right;
}
[StructLayout(LayoutKind.Sequential)]
public partial struct MixPoint3D
{
public float x;
public float y;
public float z;
}
}

View file

@ -0,0 +1,3 @@
global using System.Runtime.CompilerServices;
global using System.Runtime.InteropServices;
global using Brutal.SdlApi;

View file

@ -0,0 +1,237 @@
THIRD-PARTY LICENSE NOTICES
RocketWerkz.Brutal.Sdl.Mixer
This package redistributes third-party software. The licenses governing that software
are reproduced below in full.
WHAT THIS PACKAGE CONTAINS
One native library, on every runtime identifier the package supports
(win-x64, linux-x64, osx-arm64):
SDL_mixer 3.2.4 SDL3_mixer.dll / libSDL3_mixer.so / libSDL3_mixer.dylib
Three decoders maintained by third parties are compiled into that library and are
governed by their own licenses, one section each below:
stb_vorbis Ogg Vorbis decoding
dr_flac FLAC decoding
dr_mp3 MP3 decoding
A NOTE ON SCOPE
This package depends on RocketWerkz.Brutal.Sdl and links against SDL3 at runtime.
SDL3 is not contained in this package and is covered by that package's own notices.
SDL_mixer can optionally be built against libmpg123, libFLAC, libvorbis, libopus,
libxmp, libgme, WavPack and FluidSynth. This build enables none of them and
substitutes the header-only decoders named above. None of those optional libraries
is contained in the shipped library, and none is attributed here.
==============================================================================
SDL_mixer
==============================================================================
Name SDL_mixer
Version 3.2.4
Upstream https://github.com/libsdl-org/SDL_mixer
SPDX Zlib
Shipped as SDL3_mixer.dll, libSDL3_mixer.so, libSDL3_mixer.dylib
Copyright (C) 1997-2026 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
==============================================================================
stb_vorbis
==============================================================================
Name stb_vorbis
Version as vendored by SDL_mixer 3.2.4
Upstream https://github.com/nothings/stb
SPDX MIT OR Unlicense
Shipped as compiled into SDL3_mixer.dll, libSDL3_mixer.so, libSDL3_mixer.dylib
stb_vorbis is offered under two mutually exclusive licenses, both reproduced below
as upstream states them.
------------------------------------------------------------------------------
ALTERNATIVE A - MIT License
Copyright (c) 2017 Sean Barrett
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
------------------------------------------------------------------------------
ALTERNATIVE B - Public Domain (www.unlicense.org)
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
software, either in source code form or as a compiled binary, for any purpose,
commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this
software dedicate any and all copyright interest in the software to the public
domain. We make this dedication for the benefit of the public at large and to
the detriment of our heirs and successors. We intend this dedication to be an
overt act of relinquishment in perpetuity of all present and future rights to
this software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
------------------------------------------------------------------------------
==============================================================================
dr_flac
==============================================================================
Name dr_flac
Version 0.13.4 (as vendored by SDL_mixer 3.2.4)
Upstream https://github.com/mackron/dr_libs
SPDX Unlicense OR MIT-0
Shipped as compiled into SDL3_mixer.dll, libSDL3_mixer.so, libSDL3_mixer.dylib
This software is available as a choice of the following licenses. Choose
whichever you prefer.
===============================================================================
ALTERNATIVE 1 - Public Domain (www.unlicense.org)
===============================================================================
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
software, either in source code form or as a compiled binary, for any purpose,
commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this
software dedicate any and all copyright interest in the software to the public
domain. We make this dedication for the benefit of the public at large and to
the detriment of our heirs and successors. We intend this dedication to be an
overt act of relinquishment in perpetuity of all present and future rights to
this software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <http://unlicense.org/>
===============================================================================
ALTERNATIVE 2 - MIT No Attribution
===============================================================================
Copyright 2023 David Reid
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
==============================================================================
dr_mp3
==============================================================================
Name dr_mp3
Version 0.7.4 (as vendored by SDL_mixer 3.2.4)
Upstream https://github.com/mackron/dr_libs
SPDX Unlicense OR MIT-0
Shipped as compiled into SDL3_mixer.dll, libSDL3_mixer.so, libSDL3_mixer.dylib
dr_mp3's decoding core derives from minimp3 -- "where the real work was done",
in dr_mp3's own words. The dr_libs terms come first, then minimp3's dedication,
both as dr_mp3 carries them. minimp3 names no copyright holder.
This software is available as a choice of the following licenses. Choose
whichever you prefer.
===============================================================================
ALTERNATIVE 1 - Public Domain (www.unlicense.org)
===============================================================================
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
software, either in source code form or as a compiled binary, for any purpose,
commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this
software dedicate any and all copyright interest in the software to the public
domain. We make this dedication for the benefit of the public at large and to
the detriment of our heirs and successors. We intend this dedication to be an
overt act of relinquishment in perpetuity of all present and future rights to
this software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <http://unlicense.org/>
===============================================================================
ALTERNATIVE 2 - MIT No Attribution
===============================================================================
Copyright 2023 David Reid
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
----------------------------------------------------------------------------
minimp3 -- the dedication carried for the code dr_mp3 derives from
----------------------------------------------------------------------------
https://github.com/lieff/minimp3
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide.
This software is distributed without any warranty.
See <http://creativecommons.org/publicdomain/zero/1.0/>.

Some files were not shown because too many files have changed in this diff Show more