Sync SDL3 wiki -> header

[ci skip]
This commit is contained in:
SDL Wiki Bot
2025-12-01 04:28:01 +00:00
parent b7c8b2f29a
commit 29213efa65
+9 -10
View File
@@ -496,17 +496,16 @@ extern "C" {
/** /**
* A variable controlling whether SDL enforces a minimum audio device spec. * A variable controlling whether SDL enforces a minimum audio device spec.
* *
* By default, SDL will require devices to be opened at a minimum spec * By default, SDL will require devices to be opened at a minimum spec (at
* (at time of writing: 44100Hz, stereo, Sint16 format), so if something * time of writing: 44100Hz, stereo, Sint16 format), so if something lower
* lower quality tries to open the device first, it doesn't ruin audio * quality tries to open the device first, it doesn't ruin audio for the next
* for the next thing that opens a device. For example, if a VoIP library * thing that opens a device. For example, if a VoIP library wants Uint8,
* wants Uint8, 8000Hz, mono output, it doesn't force the entire game to * 8000Hz, mono output, it doesn't force the entire game to this state simply
* this state simply because it got there first. * because it got there first.
* *
* However, an app that knows it will definitely be the only thing opening * However, an app that knows it will definitely be the only thing opening a
* a device, and wants to open it at a lower spec, might be able to avoid * device, and wants to open it at a lower spec, might be able to avoid some
* some otherwise-unnecessary conversions by bypassing this minimum * otherwise-unnecessary conversions by bypassing this minimum requirement.
* requirement.
* *
* Note that even without the minimum enforcement, the system might choose a * Note that even without the minimum enforcement, the system might choose a
* different format/channels/frequency than requested by the app; this hint * different format/channels/frequency than requested by the app; this hint