src/audio/SDL_sysaudio.h
branchSDL-ryan-multiple-audio-device
changeset 3792 866c310e2cb5
parent 3790 8f8209f8da6d
child 3793 2b4795e92b62
     1.1 --- a/src/audio/SDL_sysaudio.h	Tue Oct 03 20:48:42 2006 +0000
     1.2 +++ b/src/audio/SDL_sysaudio.h	Tue Oct 03 22:17:59 2006 +0000
     1.3 @@ -35,16 +35,16 @@
     1.4  typedef struct SDL_AudioDriverImpl
     1.5  {
     1.6      int (*DetectDevices)(int iscapture);
     1.7 -    const char *(*GetAudioDevice)(int index, int iscapture);
     1.8 -    int (*OpenAudio) (_THIS, const char *devname, int iscapture);
     1.9 +    const char *(*GetDeviceName)(int index, int iscapture);
    1.10 +    int (*OpenDevice) (_THIS, const char *devname, int iscapture);
    1.11      void (*ThreadInit) (_THIS); /* Called by audio thread at start */
    1.12 -    void (*WaitAudio) (_THIS);
    1.13 -    void (*PlayAudio) (_THIS);
    1.14 -    Uint8 *(*GetAudioBuf) (_THIS);
    1.15 +    void (*WaitDevice) (_THIS);
    1.16 +    void (*PlayDevice) (_THIS);
    1.17 +    Uint8 *(*GetDeviceBuf) (_THIS);
    1.18      void (*WaitDone) (_THIS);
    1.19 -    void (*CloseAudio) (_THIS);
    1.20 -    void (*LockAudio) (_THIS);
    1.21 -    void (*UnlockAudio) (_THIS);
    1.22 +    void (*CloseDevice) (_THIS);
    1.23 +    void (*LockDevice) (_THIS);
    1.24 +    void (*UnlockDevice) (_THIS);
    1.25      void (*Deinitialize) (void);
    1.26  } SDL_AudioDriverImpl;
    1.27