mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-08 19:06:26 +00:00
Fixed bug 3662 - Error message when using the audio conversion setup without an initialized audio subsystem is a bit vague
Simon Hug This issue actually raises the question if this API change (requirement of initialized audio subsystem) is breaking backwards compatibility. I don't see the documentation saying it is needed in 2.0.5.
This commit is contained in:
@@ -874,8 +874,6 @@ SDL_GetAudioDriver(int index)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
extern void SDL_ChooseAudioConverters(void);
|
||||
|
||||
int
|
||||
SDL_AudioInit(const char *driver_name)
|
||||
{
|
||||
@@ -890,8 +888,6 @@ SDL_AudioInit(const char *driver_name)
|
||||
SDL_zero(current_audio);
|
||||
SDL_zero(open_devices);
|
||||
|
||||
SDL_ChooseAudioConverters();
|
||||
|
||||
/* Select the proper audio driver */
|
||||
if (driver_name == NULL) {
|
||||
driver_name = SDL_getenv("SDL_AUDIODRIVER");
|
||||
|
Reference in New Issue
Block a user