include/SDL_audio.h
changeset 1967 01e29c3e9a29
parent 1964 071b6598d48f
child 1983 ee73925ddf14
     1.1 --- a/include/SDL_audio.h	Sat Aug 05 17:12:22 2006 +0000
     1.2 +++ b/include/SDL_audio.h	Sat Aug 05 22:34:23 2006 +0000
     1.3 @@ -237,7 +237,8 @@
     1.4   *  Must be a value between 0 and (number of audio devices-1).
     1.5   *  Only valid after a successfully initializing the audio subsystem.
     1.6   */
     1.7 -extern DECLSPEC const char *SDLCALL SDL_GetAudioDevice(int index, int iscapture);
     1.8 +extern DECLSPEC const char *SDLCALL SDL_GetAudioDevice(int index,
     1.9 +                                                       int iscapture);
    1.10  
    1.11  
    1.12  /*
    1.13 @@ -245,11 +246,14 @@
    1.14   *  equivalent to SDL_OpenAudio(). Returns 0 on error, a valid device ID
    1.15   *  on success.
    1.16   */
    1.17 -extern DECLSPEC SDL_AudioDeviceID SDLCALL SDL_OpenAudioDevice(
    1.18 -                                                const char * device,
    1.19 -                                                int iscapture,
    1.20 -                                                const SDL_AudioSpec * desired,
    1.21 -                                                SDL_AudioSpec * obtained);
    1.22 +extern DECLSPEC SDL_AudioDeviceID SDLCALL SDL_OpenAudioDevice(const char
    1.23 +                                                              *device,
    1.24 +                                                              int iscapture,
    1.25 +                                                              const
    1.26 +                                                              SDL_AudioSpec *
    1.27 +                                                              desired,
    1.28 +                                                              SDL_AudioSpec *
    1.29 +                                                              obtained);
    1.30  
    1.31  
    1.32  
    1.33 @@ -264,8 +268,8 @@
    1.34  } SDL_audiostatus;
    1.35  extern DECLSPEC SDL_audiostatus SDLCALL SDL_GetAudioStatus(void);
    1.36  
    1.37 -extern DECLSPEC SDL_audiostatus SDLCALL SDL_GetAudioDeviceStatus(
    1.38 -                                                        SDL_AudioDeviceID dev);
    1.39 +extern DECLSPEC SDL_audiostatus SDLCALL
    1.40 +SDL_GetAudioDeviceStatus(SDL_AudioDeviceID dev);
    1.41  
    1.42  /*
    1.43   * This function pauses and unpauses the audio callback processing.
    1.44 @@ -352,7 +356,8 @@
    1.45   *  using the format of audio device 1. Thus it can be used when no audio
    1.46   *  device is open at all.
    1.47   */
    1.48 -extern DECLSPEC void SDLCALL SDL_MixAudioFormat(Uint8 * dst, const Uint8 * src,
    1.49 +extern DECLSPEC void SDLCALL SDL_MixAudioFormat(Uint8 * dst,
    1.50 +                                                const Uint8 * src,
    1.51                                                  SDL_AudioFormat format,
    1.52                                                  Uint32 len, int volume);
    1.53