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 BeckerandSam Lantinga authored and GitHub committed 2022-12-27 05:22:22 -08:00
1 parent 3fb0c8b54a
commit 47170d288e
10 files changed
+51 -65

No files matched your search

+3
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