SDL_AudioDriverImpl Struct Reference

`#include <SDL_sysaudio.h>`

## Data Fields

void(* | DetectDevices )(void)
int(* | OpenDevice )(_THIS, void *handle, const char *devname, int iscapture)
void(* | ThreadInit )(_THIS)
void(* | WaitDevice )(_THIS)
void(* | PlayDevice )(_THIS)
int(* | GetPendingBytes )(_THIS)
Uint8 *(* | GetDeviceBuf )(_THIS)
void(* | WaitDone )(_THIS)
void(* | CloseDevice )(_THIS)
void(* | LockDevice )(_THIS)
void(* | UnlockDevice )(_THIS)
void(* | FreeDeviceHandle )(void *handle)
void(* | Deinitialize )(void)
int | ProvidesOwnCallbackThread
int | SkipMixerLock
int | HasCaptureSupport
int | OnlyHasDefaultOutputDevice
int | OnlyHasDefaultInputDevice
int | AllowsArbitraryDeviceNames

## Detailed Description

Definition at line 69 of file SDL_sysaudio.h.

## Field Documentation

int SDL_AudioDriverImpl::AllowsArbitraryDeviceNames

Definition at line 94 of file SDL_sysaudio.h.

Referenced by open_audio_device().

void(* SDL_AudioDriverImpl::CloseDevice) (_THIS)

Definition at line 79 of file SDL_sysaudio.h.

Referenced by close_audio_device().

void(* SDL_AudioDriverImpl::Deinitialize) (void)

Definition at line 83 of file SDL_sysaudio.h.

Referenced by SDL_AudioQuit().

void(* SDL_AudioDriverImpl::DetectDevices) (void)

Definition at line 71 of file SDL_sysaudio.h.

Referenced by SDL_AudioInit().

void(* SDL_AudioDriverImpl::FreeDeviceHandle) (void *handle)

SDL is done with handle from SDL_AddAudioDevice()

Definition at line 82 of file SDL_sysaudio.h.

Referenced by free_device_list(), and SDL_RemoveAudioDevice().

Uint8*(* SDL_AudioDriverImpl::GetDeviceBuf) (_THIS)

Definition at line 77 of file SDL_sysaudio.h.

Referenced by SDL_RunAudio().

int(* SDL_AudioDriverImpl::GetPendingBytes) (_THIS)

Definition at line 76 of file SDL_sysaudio.h.

Referenced by SDL_GetQueuedAudioSize().

int SDL_AudioDriverImpl::HasCaptureSupport

Definition at line 91 of file SDL_sysaudio.h.

Referenced by open_audio_device(), SDL_AudioDetectDevices_Default(), and SDL_GetAudioDeviceName().

void(* SDL_AudioDriverImpl::LockDevice) (_THIS)

Definition at line 80 of file SDL_sysaudio.h.

Referenced by SDL_ClearQueuedAudio(), SDL_GetQueuedAudioSize(), SDL_LockAudioDevice(), SDL_OpenedAudioDeviceDisconnected(), SDL_PauseAudioDevice(), and SDL_QueueAudio().

int SDL_AudioDriverImpl::OnlyHasDefaultInputDevice

Definition at line 93 of file SDL_sysaudio.h.

Referenced by open_audio_device(), and SDL_AudioDetectDevices_Default().

int SDL_AudioDriverImpl::OnlyHasDefaultOutputDevice

Definition at line 92 of file SDL_sysaudio.h.

Referenced by DUMMYAUD_Init(), open_audio_device(), and SDL_AudioDetectDevices_Default().

int(* SDL_AudioDriverImpl::OpenDevice) (_THIS, void *handle, const char *devname, int iscapture)

Definition at line 72 of file SDL_sysaudio.h.

Referenced by DUMMYAUD_Init(), and open_audio_device().

void(* SDL_AudioDriverImpl::PlayDevice) (_THIS)

Definition at line 75 of file SDL_sysaudio.h.

Referenced by SDL_RunAudio().

int SDL_AudioDriverImpl::ProvidesOwnCallbackThread

Definition at line 89 of file SDL_sysaudio.h.

Referenced by open_audio_device().

int SDL_AudioDriverImpl::SkipMixerLock

Definition at line 90 of file SDL_sysaudio.h.

Referenced by open_audio_device().

void(* SDL_AudioDriverImpl::ThreadInit) (_THIS)

Definition at line 73 of file SDL_sysaudio.h.

Referenced by SDL_RunAudio().

void(* SDL_AudioDriverImpl::UnlockDevice) (_THIS)

Definition at line 81 of file SDL_sysaudio.h.

Referenced by SDL_ClearQueuedAudio(), SDL_GetQueuedAudioSize(), SDL_OpenedAudioDeviceDisconnected(), SDL_PauseAudioDevice(), SDL_QueueAudio(), and SDL_UnlockAudioDevice().

void(* SDL_AudioDriverImpl::WaitDevice) (_THIS)

Definition at line 74 of file SDL_sysaudio.h.

Referenced by SDL_RunAudio().

void(* SDL_AudioDriverImpl::WaitDone) (_THIS)

Definition at line 78 of file SDL_sysaudio.h.

Referenced by SDL_RunAudio().

The documentation for this struct was generated from the following file:

- src/audio/SDL_sysaudio.h