libgpac
Documentation of the core library of GPAC
|
Data Structures | |
struct | WAVContext |
struct | WAVEFORMATEXTENSIBLE |
union | WAVEFORMATEXTENSIBLE.Samples |
Macros | |
#define | MAX_AUDIO_BUFFER 30 |
#define | USE_WAVE_EXT |
#define | WAVE_FORMAT_EXTENSIBLE 0xFFFE |
#define | SPEAKER_FRONT_LEFT 0x1 |
#define | SPEAKER_FRONT_RIGHT 0x2 |
#define | SPEAKER_FRONT_CENTER 0x4 |
#define | SPEAKER_LOW_FREQUENCY 0x8 |
#define | SPEAKER_BACK_LEFT 0x10 |
#define | SPEAKER_BACK_RIGHT 0x20 |
#define | SPEAKER_FRONT_LEFT_OF_CENTER 0x40 |
#define | SPEAKER_FRONT_RIGHT_OF_CENTER 0x80 |
#define | SPEAKER_BACK_CENTER 0x100 |
#define | SPEAKER_SIDE_LEFT 0x200 |
#define | SPEAKER_SIDE_RIGHT 0x400 |
#define | SPEAKER_TOP_CENTER 0x800 |
#define | SPEAKER_TOP_FRONT_LEFT 0x1000 |
#define | SPEAKER_TOP_FRONT_CENTER 0x2000 |
#define | SPEAKER_TOP_FRONT_RIGHT 0x4000 |
#define | SPEAKER_TOP_BACK_LEFT 0x8000 |
#define | SPEAKER_TOP_BACK_CENTER 0x10000 |
#define | SPEAKER_TOP_BACK_RIGHT 0x20000 |
#define | SPEAKER_RESERVED 0x80000000 |
#define | WAVCTX() WAVContext *ctx = (WAVContext *)dr->opaque; |
Typedefs | |
typedef struct WAVEFORMATEXTENSIBLE * | PWAVEFORMATEXTENSIBLE |
Functions | |
static GF_Err | WAV_Setup (GF_AudioOutput *dr, void *os_handle, u32 num_buffers, u32 total_duration) |
static void CALLBACK | WaveProc (HWAVEOUT hwo, UINT uMsg, DWORD_PTR dwInstance, DWORD_PTR dwParam1, DWORD_PTR dwParam2) |
static void | close_waveform (GF_AudioOutput *dr) |
static void | WAV_Shutdown (GF_AudioOutput *dr) |
static GF_Err | WAV_Configure (GF_AudioOutput *dr, u32 *SampleRate, u32 *NbChannels, u32 *audioFormat, u64 channel_cfg) |
static void | WAV_WriteAudio (GF_AudioOutput *dr) |
static void | WAV_Play (GF_AudioOutput *dr, u32 PlayType) |
static void | set_vol_pan (WAVContext *ctx) |
static void | WAV_SetVolume (GF_AudioOutput *dr, u32 Volume) |
static void | WAV_SetPan (GF_AudioOutput *dr, u32 Pan) |
static GF_Err | WAV_QueryOutputSampleRate (GF_AudioOutput *dr, u32 *desired_samplerate, u32 *NbChannels, u32 *nbBitsPerSample) |
static u32 | WAV_GetAudioDelay (GF_AudioOutput *dr) |
static u32 | WAV_GetTotalBufferTime (GF_AudioOutput *dr) |
void * | NewWAVRender () |
void | DeleteWAVRender (void *ifce) |
GPAC_MODULE_EXPORT const u32 * | QueryInterfaces () |
GPAC_MODULE_EXPORT GF_BaseInterface * | LoadInterface (u32 InterfaceType) |
GPAC_MODULE_EXPORT void | ShutdownInterface (GF_BaseInterface *ifce) |
Variables | |
static const GUID | GPAC_KSDATAFORMAT_SUBTYPE_PCM = {0x00000001,0x0000,0x0010, {0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71} } |
struct WAVContext |
struct WAVEFORMATEXTENSIBLE |
Data Fields | ||
---|---|---|
WAVEFORMATEX | Format | |
union WAVEFORMATEXTENSIBLE | Samples | |
DWORD | dwChannelMask | |
GUID | SubFormat |
union WAVEFORMATEXTENSIBLE.Samples |
#define MAX_AUDIO_BUFFER 30 |
#define USE_WAVE_EXT |
#define WAVE_FORMAT_EXTENSIBLE 0xFFFE |
#define SPEAKER_FRONT_LEFT 0x1 |
#define SPEAKER_FRONT_RIGHT 0x2 |
#define SPEAKER_FRONT_CENTER 0x4 |
#define SPEAKER_LOW_FREQUENCY 0x8 |
#define SPEAKER_BACK_LEFT 0x10 |
#define SPEAKER_BACK_RIGHT 0x20 |
#define SPEAKER_FRONT_LEFT_OF_CENTER 0x40 |
#define SPEAKER_FRONT_RIGHT_OF_CENTER 0x80 |
#define SPEAKER_BACK_CENTER 0x100 |
#define SPEAKER_SIDE_LEFT 0x200 |
#define SPEAKER_SIDE_RIGHT 0x400 |
#define SPEAKER_TOP_CENTER 0x800 |
#define SPEAKER_TOP_FRONT_LEFT 0x1000 |
#define SPEAKER_TOP_FRONT_CENTER 0x2000 |
#define SPEAKER_TOP_FRONT_RIGHT 0x4000 |
#define SPEAKER_TOP_BACK_LEFT 0x8000 |
#define SPEAKER_TOP_BACK_CENTER 0x10000 |
#define SPEAKER_TOP_BACK_RIGHT 0x20000 |
#define SPEAKER_RESERVED 0x80000000 |
#define WAVCTX | ( | ) | WAVContext *ctx = (WAVContext *)dr->opaque; |
typedef struct WAVEFORMATEXTENSIBLE * PWAVEFORMATEXTENSIBLE |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void* NewWAVRender | ( | ) |
void DeleteWAVRender | ( | void * | ifce | ) |
GPAC_MODULE_EXPORT const u32* QueryInterfaces | ( | ) |
GPAC_MODULE_EXPORT GF_BaseInterface* LoadInterface | ( | u32 | InterfaceType | ) |
GPAC_MODULE_EXPORT void ShutdownInterface | ( | GF_BaseInterface * | ifce | ) |
|
static |