From e50cb72eb64698bb572a08d4e8c329f351912a94 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 22 Jun 2023 18:29:45 -0400 Subject: [PATCH] docs: Note that audio opening doesn't implicitly init SDL now. --- docs/README-migration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/README-migration.md b/docs/README-migration.md index 10366ced2..cc7c75a59 100644 --- a/docs/README-migration.md +++ b/docs/README-migration.md @@ -57,6 +57,8 @@ The audio subsystem in SDL3 is dramatically different than SDL2. The primary way The SDL 1.2 audio compatibility API has also been removed, as it was a simplified version of the audio callback interface. +SDL3 will not implicitly initialize the audio subsystem on your behalf if you open a device without doing so. Please explicitly call SDL_Init(SDL_INIT_AUDIO) at some point. + If your app depends on the callback method, there is a similar approach you can take. But first, this is the new approach: In SDL2, you might have done something like this to play audio: