audio: make SDL_OpenAudioDevice declaration look less squashed.

This commit is contained in:
Ryan C. Gordon 2021-04-03 13:24:10 -04:00
parent 4abe34461f
commit 95e5f0586e
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 6 additions and 10 deletions

View File

@ -548,16 +548,12 @@ extern DECLSPEC int SDLCALL SDL_GetAudioDeviceSpec(int index,
* \sa SDL_PauseAudioDevice * \sa SDL_PauseAudioDevice
* \sa SDL_UnlockAudioDevice * \sa SDL_UnlockAudioDevice
*/ */
extern DECLSPEC SDL_AudioDeviceID SDLCALL SDL_OpenAudioDevice(const char extern DECLSPEC SDL_AudioDeviceID SDLCALL SDL_OpenAudioDevice(
*device, const char *device,
int iscapture, int iscapture,
const const SDL_AudioSpec *desired,
SDL_AudioSpec * SDL_AudioSpec *obtained,
desired, int allowed_changes);
SDL_AudioSpec *
obtained,
int
allowed_changes);