libgpac
Documentation of the core library of GPAC
audio_input.c File Reference
+ Include dependency graph for audio_input.c:

Macros

#define ENABLE_EARLY_FRAME_DETECTION
 
#define MAX_RESYNC_TIME   1000
 
#define MIN_DRIFT_ADJUST   75
 

Functions

static u8gf_audio_input_fetch_frame (void *callback, u32 *size, u32 *planar_size, u32 audio_delay_ms)
 
static void gf_audio_input_release_frame (void *callback, u32 nb_bytes)
 
static Fixed gf_audio_input_get_speed (void *callback)
 
static Bool gf_audio_input_get_volume (void *callback, Fixed *vol)
 
static Bool gf_audio_input_is_muted (void *callback)
 
static Bool gf_audio_input_get_config (GF_AudioInterface *aifc, Bool for_recf)
 
GF_EXPORT void gf_sc_audio_setup (GF_AudioInput *ai, GF_Compositor *compositor, GF_Node *node)
 
void gf_sc_audio_predestroy (GF_AudioInput *ai)
 
GF_EXPORT GF_Err gf_sc_audio_open (GF_AudioInput *ai, MFURL *url, Double clipBegin, Double clipEnd, Bool lock_timeline)
 
GF_EXPORT void gf_sc_audio_stop (GF_AudioInput *ai)
 
GF_EXPORT void gf_sc_audio_restart (GF_AudioInput *ai)
 
GF_EXPORT Bool gf_sc_audio_check_url (GF_AudioInput *ai, MFURL *url)
 
GF_EXPORT void gf_sc_audio_register (GF_AudioInput *ai, GF_TraverseState *tr_state)
 
GF_EXPORT void gf_sc_audio_unregister (GF_AudioInput *ai)
 

Macro Definition Documentation

◆ ENABLE_EARLY_FRAME_DETECTION

#define ENABLE_EARLY_FRAME_DETECTION

◆ MAX_RESYNC_TIME

#define MAX_RESYNC_TIME   1000

◆ MIN_DRIFT_ADJUST

#define MIN_DRIFT_ADJUST   75

Function Documentation

◆ gf_audio_input_fetch_frame()

static u8* gf_audio_input_fetch_frame ( void *  callback,
u32 size,
u32 planar_size,
u32  audio_delay_ms 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_audio_input_release_frame()

static void gf_audio_input_release_frame ( void *  callback,
u32  nb_bytes 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_audio_input_get_speed()

static Fixed gf_audio_input_get_speed ( void *  callback)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_audio_input_get_volume()

static Bool gf_audio_input_get_volume ( void *  callback,
Fixed vol 
)
static
+ Here is the caller graph for this function:

◆ gf_audio_input_is_muted()

static Bool gf_audio_input_is_muted ( void *  callback)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_audio_input_get_config()

static Bool gf_audio_input_get_config ( GF_AudioInterface aifc,
Bool  for_recf 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_audio_setup()

GF_EXPORT void gf_sc_audio_setup ( GF_AudioInput ai,
GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_audio_predestroy()

void gf_sc_audio_predestroy ( GF_AudioInput ai)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_audio_open()

GF_EXPORT GF_Err gf_sc_audio_open ( GF_AudioInput ai,
MFURL url,
Double  clipBegin,
Double  clipEnd,
Bool  lock_timeline 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_audio_stop()

GF_EXPORT void gf_sc_audio_stop ( GF_AudioInput ai)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_audio_restart()

GF_EXPORT void gf_sc_audio_restart ( GF_AudioInput ai)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_audio_check_url()

GF_EXPORT Bool gf_sc_audio_check_url ( GF_AudioInput ai,
MFURL url 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_audio_register()

GF_EXPORT void gf_sc_audio_register ( GF_AudioInput ai,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_sc_audio_unregister()

GF_EXPORT void gf_sc_audio_unregister ( GF_AudioInput ai)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: