Don't export SDL_AudioInit/Quit, use SDL_InitSubsystem instead (#6912)

* Don't export SDL_AudioInit/Quit, use SDL_InitSubsystem instead

* Update README

Co-authored-by: Sam Lantinga <slouken@libsdl.org>
This commit is contained in:
Sylvain Becker
2022-12-27 14:22:22 +01:00
committed by GitHub
parent 3fb0c8b54a
commit 47170d288e
10 changed files with 51 additions and 65 deletions

View File

@@ -42,6 +42,9 @@ The vi format comments have been removed from source code. Vim users can use the
## SDL_audio.h
- SDL_AudioInit() and SDL_AudioQuit() have been removed. Instead you can call SDL_InitSubSytem() and SDL_QuitSubSytem() with SDL_INIT_AUDIO, which will properly refcount the subsystems.
Also the hint SDL_AUDIO_DRIVER can help to choose a specific driver.
The following functions have been renamed:
* SDL_FreeWAV => SDL_free