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)
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
GLuint const GLchar * name
AudioBootStrap DSOUND_bootstrap
AudioBootStrap HAIKUAUDIO_bootstrap
AudioBootStrap SNDIO_bootstrap
AudioBootStrap PULSEAUDIO_bootstrap
AudioBootStrap ARTS_bootstrap
AudioBootStrap EMSCRIPTENAUDIO_bootstrap
AudioBootStrap JACK_bootstrap
AudioBootStrap FUSIONSOUND_bootstrap
AudioBootStrap NACLAUDIO_bootstrap
AudioBootStrap SUNAUDIO_bootstrap
AudioBootStrap NETBSDAUDIO_bootstrap
AudioBootStrap QSAAUDIO_bootstrap
AudioBootStrap PAUDIO_bootstrap
void SDL_RemoveAudioDevice(const int iscapture, void *handle)
AudioBootStrap openslES_bootstrap
AudioBootStrap ANDROIDAUDIO_bootstrap
AudioBootStrap DSP_bootstrap
AudioBootStrap PSPAUDIO_bootstrap
void SDL_AddAudioDevice(const int iscapture, const char *name, void *handle)
AudioBootStrap DUMMYAUDIO_bootstrap
AudioBootStrap COREAUDIO_bootstrap
AudioBootStrap ESD_bootstrap
AudioBootStrap WASAPI_bootstrap
AudioBootStrap WINMM_bootstrap
AudioBootStrap ALSA_bootstrap
void SDL_OpenedAudioDeviceDisconnected(SDL_AudioDevice *device)
AudioBootStrap NAS_bootstrap
AudioBootStrap DISKAUDIO_bootstrap
unsigned long SDL_threadID
EGLImageKHR EGLint EGLint * handle
static SDL_AudioDeviceID device
int(* init)(SDL_AudioDriverImpl *impl)
SDL_AudioSpec callbackspec
struct SDL_PrivateAudioData * hidden
SDL_DataQueue * buffer_queue
struct SDL_AudioDeviceItem * next
SDL_AudioDeviceItem * inputDevices
SDL_bool captureDevicesRemoved
SDL_bool outputDevicesRemoved
SDL_mutex * detectionLock
SDL_AudioDeviceItem * outputDevices
void(* PlayDevice)(_THIS)
void(* WaitDevice)(_THIS)
void(* CloseDevice)(_THIS)
void(* FlushCapture)(_THIS)
void(* PrepareToClose)(_THIS)
int OnlyHasDefaultCaptureDevice
void(* UnlockDevice)(_THIS)
void(* DetectDevices)(void)
int OnlyHasDefaultOutputDevice
void(* LockDevice)(_THIS)
void(* ThreadDeinit)(_THIS)
void(* Deinitialize)(void)
void(* BeginLoopIteration)(_THIS)
int AllowsArbitraryDeviceNames
void(* ThreadInit)(_THIS)
int(* CaptureFromDevice)(_THIS, void *buffer, int buflen)
void(* FreeDeviceHandle)(void *handle)
int(* OpenDevice)(_THIS, void *handle, const char *devname, int iscapture)
int ProvidesOwnCallbackThread
A type representing an atomic integer value. It is a struct so people don't accidentally use numeric ...