diff src/audio/SDL_sysaudio.h @ 3790:8f8209f8da6d SDL-ryan-multiple-audio-device

Added audio device enumeration for 1.3.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 03 Oct 2006 20:07:50 +0000
parents 8d74a4721ca9
children 866c310e2cb5
line wrap: on
line diff
--- a/src/audio/SDL_sysaudio.h	Tue Oct 03 20:05:33 2006 +0000
+++ b/src/audio/SDL_sysaudio.h	Tue Oct 03 20:07:50 2006 +0000
@@ -34,6 +34,8 @@
 /* !!! FIXME: rename these from "Audio" to "Device" ... */
 typedef struct SDL_AudioDriverImpl
 {
+    int (*DetectDevices)(int iscapture);
+    const char *(*GetAudioDevice)(int index, int iscapture);
     int (*OpenAudio) (_THIS, const char *devname, int iscapture);
     void (*ThreadInit) (_THIS); /* Called by audio thread at start */
     void (*WaitAudio) (_THIS);