21 #include "../SDL_internal.h" 23 #ifndef _SDL_sysaudio_h 24 #define _SDL_sysaudio_h 31 #define _THIS SDL_AudioDevice *_this 58 #define SDL_AUDIOBUFFERQUEUE_PACKETLEN (8 * 1024) 72 int (*OpenDevice) (
_THIS,
void *handle,
const char *devname,
int iscapture);
82 void (*FreeDeviceHandle) (
void *handle);
102 #if (defined(__GNUC__) && (__GNUC__ <= 2)) struct SDL_PrivateAudioData * hidden
SDL_bool captureDevicesRemoved
uint32_t Uint32
An unsigned 32-bit integer type.
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
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)
int OnlyHasDefaultInputDevice
#define SDL_AUDIOBUFFERQUEUE_PACKETLEN
SDL_AudioDeviceItem * inputDevices
unsigned long SDL_threadID