SDL
2.0
|
Go to the source code of this file.
Data Structures | |
struct | SDL_AudioBufferQueue |
struct | SDL_AudioDriverImpl |
struct | SDL_AudioDeviceItem |
struct | SDL_AudioDriver |
struct | SDL_AudioStreamer |
struct | SDL_AudioDevice |
struct | AudioBootStrap |
Macros | |
#define | _THIS SDL_AudioDevice *_this |
#define | SDL_AUDIOBUFFERQUEUE_PACKETLEN (8 * 1024) |
Functions | |
void | SDL_AddAudioDevice (const int iscapture, const char *name, void *handle) |
void | SDL_RemoveAudioDevice (const int iscapture, void *handle) |
void | SDL_OpenedAudioDeviceDisconnected (SDL_AudioDevice *device) |
#define _THIS SDL_AudioDevice *_this |
Definition at line 31 of file SDL_sysaudio.h.
#define SDL_AUDIOBUFFERQUEUE_PACKETLEN (8 * 1024) |
Definition at line 58 of file SDL_sysaudio.h.
Referenced by open_audio_device(), and SDL_QueueAudio().
Definition at line 347 of file SDL_audio.c.
References add_capture_device(), add_output_device(), SDL_AUDIODEVICEADDED, SDL_ENABLE, SDL_GetEventState, SDL_PushEvent, and SDL_zero.
Referenced by SDL_AudioDetectDevices_Default().
void SDL_OpenedAudioDeviceDisconnected | ( | SDL_AudioDevice * | device | ) |
Definition at line 364 of file SDL_audio.c.
References SDL_AudioDevice::enabled, get_audio_device(), SDL_AudioDevice::id, SDL_AudioDriver::impl, SDL_AudioDevice::iscapture, SDL_AudioDriverImpl::LockDevice, SDL_assert, SDL_AUDIODEVICEREMOVED, SDL_ENABLE, SDL_GetEventState, SDL_PushEvent, SDL_zero, and SDL_AudioDriverImpl::UnlockDevice.
Definition at line 405 of file SDL_audio.c.
References SDL_AudioDriver::captureDevicesRemoved, SDL_AudioDriver::detectionLock, SDL_AudioDriverImpl::FreeDeviceHandle, SDL_AudioDriver::impl, SDL_AudioDriver::inputDevices, mark_device_removed(), SDL_AudioDriver::outputDevices, SDL_AudioDriver::outputDevicesRemoved, SDL_LockMutex, and SDL_UnlockMutex.