Bläddra i källkod

docs: Note that audio opening doesn't implicitly init SDL now.

Ryan C. Gordon 1 år sedan
förälder
incheckning
e50cb72eb6
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      docs/README-migration.md

+ 2 - 0
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: