Third-party software in Holy Snail Player v0.11
===============================================

Holy Snail Player's own code is licensed under the Apache License, Version
2.0 (see LICENSE.txt and NOTICE.txt). Its name, icon and look are not, and
are covered by TRADEMARKS.txt. The program contains the third-party software
below; each part keeps its own license. This file also lists every other
component the program depends on: what Windows provides, the audio formats,
and the build tools.

Summary: the program contains no copyleft code (no GPL, LGPL or MPL),
nothing under non-commercial terms, and no codec that carries patent or
redistribution conditions for the distributor. It bundles no fonts and no
third-party images.


1. miniaudio, with dr_wav, dr_flac and dr_mp3
---------------------------------------------
Audio playback library by David Reid, https://miniaud.io
The dr_wav, dr_flac and dr_mp3 decoders, by the same author
(https://github.com/mackron/dr_libs), are embedded in it.

Used for: audio output through WASAPI, sample rate conversion, and MP3, WAV
and FLAC decoding. Only those parts are compiled: its Vorbis decoder,
encoders, audio engine and other platform backends are not.

Where: third_party/miniaudio/miniaudio.h in the source download; compiled
into HolySnailPlayer.exe.

Version: miniaudio dev branch, commit 628a6bc8ada512229bcfea25d266476d3835ba29
(0.11.26 in progress), with its dr_wav, dr_flac and dr_mp3 sections
regenerated from dr_libs master, commit
baa9558d1ecbe01b25f90c675996c4530b0fb75f, for decoder memory-safety fixes
that the 0.11.25 release lacks. No other changes.
miniaudio.h SHA-256: ce84e20a92613cba530fc48047f992946d4afdbcbd709805af50e757b7048c71

License: your choice of Public Domain (Unlicense) or MIT No Attribution.
Neither requires this notice; it is given as thanks. The full text is in
third_party/miniaudio/LICENSE in the source download.


2. C++/WinRT
------------
Microsoft's C++ language projection for the Windows Runtime, used for the
media keys and the Windows media flyout.

Where: header-only code from the Windows SDK 10.0.26100.0 (C++/WinRT
2.0.250303.5), compiled into HolySnailPlayer.exe. Not included in the source
download; it comes with the Windows SDK.

License: MIT

    MIT License

    Copyright (c) Microsoft Corporation.

    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


3. Microsoft C++ Standard Library and C runtime
-----------------------------------------------
Compiled into HolySnailPlayer.exe by the Microsoft C++ compiler (MSVC
14.51.36231), with the C runtime linked statically so the program needs no
runtime DLLs. Used for strings, containers and threads throughout the
program, and for startup, memory management and delayed loading of Windows
libraries.

The C++ Standard Library is licensed under the Apache License, Version 2.0
with LLVM Exception, which requires no notice for its code inside a compiled
program. The C runtime is covered by the Visual Studio and Windows SDK
license terms, which allow it to be distributed as part of an application.
Listed for completeness. Neither is included in the source download; both
come with Microsoft's build tools.


4. Civil date algorithms
------------------------
The podcast date conversions implement Howard Hinnant's published civil date
algorithms (https://howardhinnant.github.io/date_algorithms.html). The
author's page states: "Consider these donated to the public domain." The
implementation is the project's own.

All other code in the program and its tests was written for this project.


5. Images, icons and fonts
--------------------------
- Program icon (the snail with a halo): drawn by the project's own code; no
  third-party images, clip art or fonts were used. Part of the Holy Snail
  Player branding, see TRADEMARKS.txt.
- Theme colors: the holysnail.org palette. Part of the branding, see
  TRADEMARKS.txt.
- Fonts: Palatino Linotype, Segoe Fluent Icons (Windows 11) or Segoe MDL2
  Assets (Windows 10), the system message font, and Segoe UI (in the Add
  station and Add podcast dialogs). All come with Windows and are not
  included in any download. The program asks Windows for them by name and
  falls back to the system font if Palatino Linotype is missing.


6. Windows components used at runtime
-------------------------------------
These are part of Windows, are covered by the user's Windows license, and are
not included in any download.

  Core Windows libraries (kernel32, user32, gdi32, advapi32 and others)
      the program itself
  Common Controls 6 and Visual Styles (comctl32, uxtheme)
      track list, sliders, tooltips, links
  Desktop Window Manager (dwmapi)
      title bar colors on Windows 11
  Shell and COM (shell32, shlwapi, ole32, oleaut32)
      folder picker, drag and drop, sorting by name
  WinHTTP
      internet radio, podcasts, station links
  Media Foundation (mfplat, mfreadwrite) and the Microsoft AAC, ALAC and
  WMA decoders
      M4A, M4B and WMA playback, AAC radio stations
  XmlLite
      reading podcast feeds
  Windows Runtime and System Media Transport Controls
      media keys and the media flyout
  CD-ROM driver interface
      reading audio CDs


7. Audio formats and codecs
---------------------------
  MP3            dr_mp3 (bundled). No conditions: the MP3 patents have
                 expired.
  FLAC           dr_flac (bundled). No conditions: FLAC is an open,
                 royalty-free format.
  WAV (PCM)      dr_wav (bundled). No conditions.
  AAC in M4A     The decoder built into Windows (Media Foundation). The
  and M4B, AAC   program contains no AAC decoder of its own; AAC decoding is
  radio          provided and licensed by Windows. On Windows N editions it
                 requires Microsoft's Media Feature Pack.
  Apple Lossless The decoder built into Windows (Media Foundation). ALAC is
  (ALAC)         an open, royalty-free format (Apache License 2.0).
  WMA            The decoders built into Windows (Media Foundation). The
                 program contains no WMA decoder of its own; WMA decoding is
                 provided and licensed by Windows, and also needs the Media
                 Feature Pack on Windows N editions.
  Audio CD       Read as uncompressed audio through Windows. No conditions.

The player reads MP4 containers, ASF (WMA) headers, ADTS radio frames, ID3
and other tags, ICY radio metadata and podcast feeds with the project's own
code.


8. Tools used only to build the program
---------------------------------------
These are not part of the downloads and do not affect the license of the
program or its source.

  Microsoft Visual Studio 2026 Build Tools (MSVC 14.51.36231)
      Microsoft Visual Studio license terms
  Windows SDK 10.0.26100.0
      Microsoft Windows SDK license terms
  CMake 4.3.1
      BSD 3-Clause

The program uses no package manager and has no indirect dependencies:
miniaudio itself depends on nothing beyond Windows.


9. External websites
--------------------
The Radio and Podcasts menus can open radio-browser.info and podcastindex.org
in the web browser, to help find station and feed addresses. No code, data or
service interface from these sites is part of the program. Radio stations and
podcasts are added by the user, and their content belongs to their
publishers.
