|
@@ -1094,7 +1094,7 @@ SDL_OpenAudio(SDL_AudioSpec * desired, SDL_AudioSpec * obtained)
|
|
|
id = open_audio_device(NULL, 0, desired, obtained,
|
|
|
SDL_AUDIO_ALLOW_ANY_CHANGE, 1);
|
|
|
} else {
|
|
|
- id = open_audio_device(NULL, 0, desired, desired, 0, 1);
|
|
|
+ id = open_audio_device(NULL, 0, desired, NULL, 0, 1);
|
|
|
}
|
|
|
|
|
|
SDL_assert((id == 0) || (id == 1));
|