libgpac
Documentation of the core library of GPAC
|
#include "dx_hw.h"
Data Structures | |
struct | DSContext |
Macros | |
#define | MAX_NUM_BUFFERS 20 |
#define | DSCONTEXT() DSContext *ctx = (DSContext *)dr->opaque; |
Typedefs | |
typedef HRESULT(WINAPI * | DIRECTSOUNDCREATEPROC) (LPCGUID pcGuidDevice, LPDIRECTSOUND *ppDS, LPUNKNOWN pUnkOuter) |
Variables | |
static GF_GPACArg | DSAudioArgs [] |
struct DSContext |
Data Fields | ||
---|---|---|
Bool | force_config | |
u32 | cfg_num_buffers | |
u32 | cfg_duration | |
HWND | hWnd | |
LPDIRECTSOUND | pDS | |
WAVEFORMATEX | format | |
IDirectSoundBuffer * | pOutput | |
u32 | buffer_size | |
u32 | num_audio_buffer | |
u32 | total_audio_buffer_ms | |
Bool | use_notif | |
u32 | frame_state[MAX_NUM_BUFFERS] | |
DSBPOSITIONNOTIFY | notif_events[MAX_NUM_BUFFERS] | |
HANDLE | events[MAX_NUM_BUFFERS] | |
HMODULE | hDSoundLib | |
DIRECTSOUNDCREATEPROC | DirectSoundCreate |
#define MAX_NUM_BUFFERS 20 |
typedef HRESULT(WINAPI * DIRECTSOUNDCREATEPROC) (LPCGUID pcGuidDevice, LPDIRECTSOUND *ppDS, LPUNKNOWN pUnkOuter) |
void DS_WriteAudio | ( | GF_AudioOutput * | dr | ) |
void DS_WriteAudio_Notifs | ( | GF_AudioOutput * | dr | ) |
|
static |
void DS_ResetBuffer | ( | DSContext * | ctx | ) |
void DS_ReleaseBuffer | ( | GF_AudioOutput * | dr | ) |
|
static |
|
static |
|
static |
void DS_FillBuffer | ( | GF_AudioOutput * | dr, |
u32 | buffer | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void* NewAudioOutput | ( | ) |
void DeleteDxAudioOutput | ( | void * | ifce | ) |
|
static |