Browse Source

audio: make SDL_OpenAudioDevice declaration look less squashed.

Ryan C. Gordon 4 years ago
parent
commit
95e5f0586e
1 changed files with 6 additions and 10 deletions
  1. 6 10
      include/SDL_audio.h

+ 6 - 10
include/SDL_audio.h

@@ -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
-                                                              *device,
-                                                              int iscapture,
-                                                              const
-                                                              SDL_AudioSpec *
-                                                              desired,
-                                                              SDL_AudioSpec *
-                                                              obtained,
-                                                              int
-                                                              allowed_changes);
+extern DECLSPEC SDL_AudioDeviceID SDLCALL SDL_OpenAudioDevice(
+                                                  const char *device,
+                                                  int iscapture,
+                                                  const SDL_AudioSpec *desired,
+                                                  SDL_AudioSpec *obtained,
+                                                  int allowed_changes);