libgpac
Documentation of the core library of GPAC
|
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <poll.h>
#include <alsa/asoundlib.h>
#include <gpac/modules/audio_out.h>
Data Structures | |
struct | ALSAContext |
Functions | |
static GF_Err | ALSA_Setup (GF_AudioOutput *dr, void *os_handle, u32 num_buffers, u32 total_duration) |
static void | ALSA_Shutdown (GF_AudioOutput *dr) |
static GF_Err | ALSA_Configure (GF_AudioOutput *dr, u32 *SampleRate, u32 *NbChannels, u32 *audioFormat, u64 channel_cfg) |
static void | ALSA_WriteAudio (GF_AudioOutput *dr) |
static u32 | ALSA_GetAudioDelay (GF_AudioOutput *dr) |
static GF_Err | ALSA_QueryOutputSampleRate (GF_AudioOutput *dr, u32 *desired_sr, u32 *NbChannels, u32 *nbBitsPerSample) |
void * | NewALSAOutput () |
void | DeleteALSAOutput (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 GF_GPACArg | ALSAArgs [] |
struct ALSAContext |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void* NewALSAOutput | ( | ) |
void DeleteALSAOutput | ( | 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 |