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) 76 int (*OpenDevice) (
_THIS,
void *handle,
const char *devname,
int iscapture);
88 void (*FreeDeviceHandle) (
void *handle);
108 #if (defined(__GNUC__) && (__GNUC__ <= 2)) struct SDL_PrivateAudioData * hidden
SDL_bool captureDevicesRemoved
A type representing an atomic integer value. It is a struct so people don't accidentally use numeric ...
struct SDL_AudioDeviceItem * next
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
SDL_mutex * detectionLock
SDL_AudioBufferQueue * buffer_queue_head
void SDL_RemoveAudioDevice(const int iscapture, void *handle)
SDL_AudioBufferQueue * buffer_queue_tail
struct SDL_AudioBufferQueue * next
int OnlyHasDefaultOutputDevice
uint8_t Uint8
An unsigned 8-bit integer type.
SDL_AudioDeviceItem * outputDevices
SDL_AudioStreamer streamer
SDL_bool outputDevicesRemoved
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
int AllowsArbitraryDeviceNames
void SDL_OpenedAudioDeviceDisconnected(SDL_AudioDevice *device)
#define SDL_AUDIOBUFFERQUEUE_PACKETLEN
SDL_AudioDeviceItem * inputDevices
unsigned long SDL_threadID