Skip to content

Latest commit

 

History

History
131 lines (99 loc) · 6.12 KB

OpenALSoft.md

File metadata and controls

131 lines (99 loc) · 6.12 KB

OpenAL Soft runtime notice and source offer

Component: OpenAL Soft 1.23.1 (unmodified upstream release) Used by: FiveDo.Audio, the CLI, and the Avalonia frontend License: GNU Library General Public License, version 2, or later (LGPL-2.0-or-later). The full license text is in OpenAL-Soft-COPYING.txt.

This notice is an engineering compliance record, not legal advice. The project owner/legal reviewer remains responsible for the final distribution decision; see ReleaseLegalReview.md.

1. What ships

The release packages contain the OpenAL Soft shared library built from the unmodified 1.23.1 upstream release. The file names are:

Platform Runtime file Loader name
Windows x64 / arm64 soft_oal.dll (from the NuGet runtime) plus OpenAL32.dll (the same binary copied under the name Silk.NET.OpenAL loads) OpenAL32.dll
Linux x64 / arm64 libopenal.so libopenal.so
macOS arm64 libopenal.dylib libopenal.dylib

The Windows copies are performed by Directory.Build.targets (FiveDoPublishOpenAlSoft). Linux and macOS use the package's native file names. The library is loaded dynamically at runtime; 5DO does not statically link it into the executable.

MSVC runtime

OpenAL Soft's Windows build imports the Microsoft Visual C++ runtime (vcruntime140.dll and msvcp140.dll, plus the x64-only vcruntime140_1.dll helper). The .NET runtime does not provide these DLLs. Every Windows bundle therefore ships the target-architecture files app-local beside OpenAL32.dll; a clean Windows image no longer needs vc_redist.*.exe.

packaging/package-bundle.ps1 copies the DLLs for the target architecture from the Visual Studio redistributable folder (found through vswhere), or from the same-architecture system folder on a matching build host. The script and .github/workflows/build-bundle.yml reject a bundle with a missing DLL or a DLL whose PE machine does not match win-x64/win-arm64. For a builder without Visual Studio, pass -VcRuntimeDirectory with a folder containing the required target-architecture DLLs.

Both Windows names are intentional: soft_oal.dll is the upstream package file, while OpenAL32.dll is the name Silk.NET.OpenAL passes to the Windows loader. Publish must copy both after dotnet publish; a bundle that contains only soft_oal.dll can load a system OpenAL build instead. packaging/package-bundle.ps1 and .github/workflows/build-bundle.yml now reject a bundle missing the loader-named runtime. To repair a 1.9.x or 1.10.0/1.10.1 copy, run this beside FiveDo.exe and FiveDo.Cli.exe:

Copy-Item .\soft_oal.dll .\OpenAL32.dll -Force

2. Copyright and license notice

OpenAL Soft is Copyright (C) 1999-2007 by authors, and is distributed under the GNU Library General Public License, version 2, or (at your option) any later version. The upstream source headers carry the following notice:

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

The complete LGPL-2.0 text is reproduced in OpenAL-Soft-COPYING.txt. It is copied into every release bundle by packaging/package-bundle.ps1.

3. Corresponding source offer

The corresponding source is the unmodified OpenAL Soft 1.23.1 release:

The binary is distributed by the Silk.NET.OpenAL.Soft.Native 1.23.1 package without modification. The exact upstream source is available from the URLs above.

In addition, 5DO offers, valid for at least three years from the date of the release that includes this notice, to provide the complete corresponding source for the bundled OpenAL Soft runtime to any third party, for no charge beyond the cost of physically performing the source distribution. Requests can be made through the project issue tracker:

https://github.com/purelogiccode/5DO/issues

If the upstream archive is unavailable, the written offer above remains the source-delivery mechanism.

4. Relinking and replacement rights

The OpenAL Soft library is a separate shared library, not statically linked into the 5DO executable. A user may replace the bundled library with a compatible OpenAL Soft build (including a modified build) without rebuilding 5DO:

  1. Locate the runtime file listed in section 1 beside the CLI and desktop apphosts.
  2. Replace it with a compatible build of OpenAL Soft (same ABI and major/minor library name).
  3. Start 5DO normally. The loader resolves the replacement at process startup.

On Windows, replace both OpenAL32.dll and soft_oal.dll with the same compatible build so the loader and the packaged runtime stay consistent. Keep a backup of the original files if you want to restore the bundled runtime.

No registration, activation, or signature check prevents replacement. The emulator does not ship a statically linked OpenAL implementation.

5. Package contents

Every release bundle built by packaging/package-bundle.ps1 includes:

  • docs/OpenALSoft.md (this notice and source offer),
  • docs/OpenAL-Soft-COPYING.txt (the LGPL-2.0 text),
  • THIRD-PARTY-NOTICES.md and docs/Licensing.md (the dependency summary).

Windows bundles additionally include vcruntime140.dll and msvcp140.dll (and vcruntime140_1.dll on x64). These are Microsoft Visual C++ redistributable files, not part of OpenAL Soft, and are governed by the Microsoft Visual Studio redistributable terms.

The PACKAGE.txt manifest lists the component, RID, version, commit, and build time. The release notes list the same files in the archive summary.