21 #include "../SDL_internal.h"
23 #ifndef _SDL_sysaudio_h
24 #define _SDL_sysaudio_h
30 #define DEFAULT_OUTPUT_DEVNAME "System audio output device"
31 #define DEFAULT_INPUT_DEVNAME "System audio capture device"
35 #define _THIS SDL_AudioDevice *_this
62 #define SDL_AUDIOBUFFERQUEUE_PACKETLEN (8 * 1024)
108 #if (defined(__GNUC__) && (__GNUC__ <= 2))
struct SDL_PrivateAudioData * hidden
void(* CloseDevice)(_THIS)
SDL_bool captureDevicesRemoved
void(* WaitDevice)(_THIS)
A type representing an atomic integer value. It is a struct so people don't accidentally use numeric ...
struct SDL_AudioDeviceItem * next
void(* DetectDevices)(void)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
int ProvidesOwnCallbackThread
SDL_AudioBufferQueue * buffer_queue_pool
void SDL_AddAudioDevice(const int iscapture, const char *name, void *handle)
GLuint const GLchar * name
uint32_t Uint32
An unsigned 32-bit integer type.
int OnlyHasDefaultCaptureDevice
void(* PrepareToClose)(_THIS)
SDL_mutex * detectionLock
SDL_AudioBufferQueue * buffer_queue_head
void SDL_RemoveAudioDevice(const int iscapture, void *handle)
void(* PlayDevice)(_THIS)
SDL_AudioBufferQueue * buffer_queue_tail
struct SDL_AudioBufferQueue * next
int OnlyHasDefaultOutputDevice
uint8_t Uint8
An unsigned 8-bit integer type.
int(* CaptureFromDevice)(_THIS, void *buffer, int buflen)
void(* Deinitialize)(void)
SDL_AudioDeviceItem * outputDevices
int(* GetPendingBytes)(_THIS)
SDL_AudioStreamer streamer
SDL_bool outputDevicesRemoved
void(* FreeDeviceHandle)(void *handle)
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
void(* ThreadInit)(_THIS)
int AllowsArbitraryDeviceNames
void(* LockDevice)(_THIS)
int(* init)(SDL_AudioDriverImpl *impl)
void SDL_OpenedAudioDeviceDisconnected(SDL_AudioDevice *device)
void(* FlushCapture)(_THIS)
#define SDL_AUDIOBUFFERQUEUE_PACKETLEN
void(* UnlockDevice)(_THIS)
SDL_AudioDeviceItem * inputDevices
unsigned long SDL_threadID
int(* OpenDevice)(_THIS, void *handle, const char *devname, int iscapture)