include/SDL_audio.h
branchSDL-ryan-multiple-audio-device
changeset 3784 37c9c4590689
parent 1985 8055185ae4ed
child 3790 8f8209f8da6d
     1.1 --- a/include/SDL_audio.h	Sun Oct 01 05:21:40 2006 +0000
     1.2 +++ b/include/SDL_audio.h	Sun Oct 01 05:24:03 2006 +0000
     1.3 @@ -212,7 +212,7 @@
     1.4   * may modify the requested size of the audio buffer, you should allocate
     1.5   * any local mixing buffers after you open the audio device.
     1.6   */
     1.7 -extern DECLSPEC int SDLCALL SDL_OpenAudio(SDL_AudioSpec * desired,
     1.8 +extern DECLSPEC int SDLCALL SDL_OpenAudio(const SDL_AudioSpec * desired,
     1.9                                            SDL_AudioSpec * obtained);
    1.10  
    1.11  /*
    1.12 @@ -243,7 +243,8 @@
    1.13  /*
    1.14   * Open a specific audio device. Passing in a device name of NULL is
    1.15   *  equivalent to SDL_OpenAudio(). Returns 0 on error, a valid device ID
    1.16 - *  on success.
    1.17 + *  on success. SDL_OpenAudio(), unlike this function, always acts on device
    1.18 + *  ID 1.
    1.19   */
    1.20  extern DECLSPEC SDL_AudioDeviceID SDLCALL SDL_OpenAudioDevice(const char
    1.21                                                                *device,