libgpac
Documentation of the core library of GPAC
|
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <poll.h>
#include <pulse/pulseaudio.h>
#include <pulse/simple.h>
#include <gpac/modules/audio_out.h>
Data Structures | |
struct | PulseAudioContext |
Macros | |
#define | BUFF_SIZE 8192 |
Functions | |
static void | free_pulseaudio_resources (GF_AudioOutput *dr) |
static GF_Err | PulseAudio_Setup (GF_AudioOutput *dr, void *os_handle, u32 num_buffers, u32 total_duration) |
static void | PulseAudio_Shutdown (GF_AudioOutput *dr) |
static GF_Err | PulseAudio_Configure (GF_AudioOutput *dr, u32 *SampleRate, u32 *NbChannels, u32 *audioFormat, u64 channel_cfg) |
static void | PulseAudio_WriteAudio (GF_AudioOutput *dr) |
static u32 | PulseAudio_GetAudioDelay (GF_AudioOutput *dr) |
void * | NewPulseAudioOutput () |
void | DeletePulseAudioOutput (void *ifce) |
GPAC_MODULE_EXPORT const u32 * | QueryInterfaces (u32 InterfaceType) |
GPAC_MODULE_EXPORT GF_BaseInterface * | LoadInterface (u32 InterfaceType) |
GPAC_MODULE_EXPORT void | ShutdownInterface (GF_BaseInterface *ifce) |
Variables | |
static GF_GPACArg | PulseAudioArgs [] |
struct PulseAudioContext |
#define BUFF_SIZE 8192 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void* NewPulseAudioOutput | ( | ) |
void DeletePulseAudioOutput | ( | void * | ifce | ) |
GPAC_MODULE_EXPORT const u32* QueryInterfaces | ( | u32 | InterfaceType | ) |
GPAC_MODULE_EXPORT GF_BaseInterface* LoadInterface | ( | u32 | InterfaceType | ) |
GPAC_MODULE_EXPORT void ShutdownInterface | ( | GF_BaseInterface * | ifce | ) |
|
static |