Mercurial > sdl-ios-xcode
comparison src/audio/SDL_sysaudio.h @ 3792:866c310e2cb5 SDL-ryan-multiple-audio-device
Changed some 1.3 audio symbol names.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 03 Oct 2006 22:17:59 +0000 |
parents | 8f8209f8da6d |
children | 2b4795e92b62 |
comparison
equal
deleted
inserted
replaced
3791:be33495e4d97 | 3792:866c310e2cb5 |
---|---|
33 | 33 |
34 /* !!! FIXME: rename these from "Audio" to "Device" ... */ | 34 /* !!! FIXME: rename these from "Audio" to "Device" ... */ |
35 typedef struct SDL_AudioDriverImpl | 35 typedef struct SDL_AudioDriverImpl |
36 { | 36 { |
37 int (*DetectDevices)(int iscapture); | 37 int (*DetectDevices)(int iscapture); |
38 const char *(*GetAudioDevice)(int index, int iscapture); | 38 const char *(*GetDeviceName)(int index, int iscapture); |
39 int (*OpenAudio) (_THIS, const char *devname, int iscapture); | 39 int (*OpenDevice) (_THIS, const char *devname, int iscapture); |
40 void (*ThreadInit) (_THIS); /* Called by audio thread at start */ | 40 void (*ThreadInit) (_THIS); /* Called by audio thread at start */ |
41 void (*WaitAudio) (_THIS); | 41 void (*WaitDevice) (_THIS); |
42 void (*PlayAudio) (_THIS); | 42 void (*PlayDevice) (_THIS); |
43 Uint8 *(*GetAudioBuf) (_THIS); | 43 Uint8 *(*GetDeviceBuf) (_THIS); |
44 void (*WaitDone) (_THIS); | 44 void (*WaitDone) (_THIS); |
45 void (*CloseAudio) (_THIS); | 45 void (*CloseDevice) (_THIS); |
46 void (*LockAudio) (_THIS); | 46 void (*LockDevice) (_THIS); |
47 void (*UnlockAudio) (_THIS); | 47 void (*UnlockDevice) (_THIS); |
48 void (*Deinitialize) (void); | 48 void (*Deinitialize) (void); |
49 } SDL_AudioDriverImpl; | 49 } SDL_AudioDriverImpl; |
50 | 50 |
51 typedef struct SDL_AudioDriver | 51 typedef struct SDL_AudioDriver |
52 { | 52 { |