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