Ryan C. Gordon 10d6488786 audio: Adjust some device-opening hints.
- They now work when the app specifies a NULL spec (verses a spec with zero'd
  fields).
- They now favor the hint, falling back to the device's default settings
  (before they would fall back to `DEFAULT_AUDIO_*` defines, but it's better
  to default to what the hardware natively offers, and if the device doesn't
  specify a default, they'll be set to those defines earlier anyhow). This
  uses `device->default_spec` instead of `device->spec` so if something opens
  the device at a low-quality, it doesn't force all future default opens to
  conform to it.
- Hint docs now explain this.

Fixes #16652.
2026-11-05 16:05:16 -05:00
2026-11-02 15:06:24 -05:00
…
2026-01-01 09:40:08 -08:00
…

Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.

You can find the latest release and additional information at: https://www.libsdl.org/

Installation instructions and a quick introduction is available in INSTALL.md

This library is distributed under the terms of the zlib license, available in LICENSE.txt.

Enjoy!

Sam Lantinga (slouken@libsdl.org)

S
Description
Lustro github.com/libsdl-org/SDL
Readme
202 MiB
Languages
C 86.5%
C++ 5.2%
Objective-C 3.4%
CMake 1.8%
Java 0.8%
Other 2.1%