Go to the documentation of this file.
21 #include "../SDL_internal.h"
23 #ifndef SDL_sysaudio_h_
24 #define SDL_sysaudio_h_
28 #include "../SDL_dataqueue.h"
32 #define DEFAULT_OUTPUT_DEVNAME "System audio output device"
33 #define DEFAULT_INPUT_DEVNAME "System audio capture device"
37 #define _THIS SDL_AudioDevice *_this
63 #define SDL_AUDIOBUFFERQUEUE_PACKETLEN (8 * 1024)
void(* UnlockDevice)(_THIS)
int ProvidesOwnCallbackThread
AudioBootStrap ESD_bootstrap
void(* FlushCapture)(_THIS)
EGLImageKHR EGLint EGLint * handle
AudioBootStrap PSPAUDIO_bootstrap
AudioBootStrap WINMM_bootstrap
SDL_bool captureDevicesRemoved
struct SDL_AudioDeviceItem * next
int(* OpenDevice)(_THIS, void *handle, const char *devname, int iscapture)
struct SDL_PrivateAudioData * hidden
void(* PrepareToClose)(_THIS)
AudioBootStrap DISKAUDIO_bootstrap
AudioBootStrap ARTS_bootstrap
AudioBootStrap QSAAUDIO_bootstrap
AudioBootStrap SUNAUDIO_bootstrap
void(* FreeDeviceHandle)(void *handle)
AudioBootStrap DUMMYAUDIO_bootstrap
AudioBootStrap COREAUDIO_bootstrap
void(* WaitDevice)(_THIS)
AudioBootStrap EMSCRIPTENAUDIO_bootstrap
AudioBootStrap PAUDIO_bootstrap
int(* init)(SDL_AudioDriverImpl *impl)
AudioBootStrap SNDIO_bootstrap
void SDL_AddAudioDevice(const int iscapture, const char *name, void *handle)
AudioBootStrap DSOUND_bootstrap
void SDL_RemoveAudioDevice(const int iscapture, void *handle)
int OnlyHasDefaultOutputDevice
GLuint const GLchar * name
AudioBootStrap NACLAUDIO_bootstrap
void(* LockDevice)(_THIS)
void(* ThreadDeinit)(_THIS)
AudioBootStrap NAS_bootstrap
void(* DetectDevices)(void)
AudioBootStrap WASAPI_bootstrap
void(* PlayDevice)(_THIS)
AudioBootStrap ALSA_bootstrap
AudioBootStrap PULSEAUDIO_bootstrap
void(* BeginLoopIteration)(_THIS)
int OnlyHasDefaultCaptureDevice
int AllowsArbitraryDeviceNames
void(* ThreadInit)(_THIS)
int(* CaptureFromDevice)(_THIS, void *buffer, int buflen)
AudioBootStrap FUSIONSOUND_bootstrap
unsigned long SDL_threadID
AudioBootStrap HAIKUAUDIO_bootstrap
A type representing an atomic integer value. It is a struct so people don't accidentally use numeric ...
SDL_DataQueue * buffer_queue
SDL_AudioSpec callbackspec
SDL_AudioDeviceItem * inputDevices
AudioBootStrap ANDROIDAUDIO_bootstrap
AudioBootStrap DSP_bootstrap
SDL_bool outputDevicesRemoved
AudioBootStrap NETBSDAUDIO_bootstrap
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 void
AudioBootStrap JACK_bootstrap
static SDL_AudioDeviceID device
SDL_AudioDeviceItem * outputDevices
AudioBootStrap openslES_bootstrap
void(* CloseDevice)(_THIS)
SDL_mutex * detectionLock
void(* Deinitialize)(void)
void SDL_OpenedAudioDeviceDisconnected(SDL_AudioDevice *device)