GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
audio_input.c File Reference
+ Include dependency graph for audio_input.c:

Data Structures

struct  GF_AudioFilterItem
 

Macros

#define ENABLE_EARLY_FRAME_DETECTION
 
#define MAX_RESYNC_TIME   1000
 

Functions

GF_AudioFilterItem * gf_af_new (GF_Compositor *compositor, GF_AudioInterface *src, char *filter_name)
 
void gf_af_del (GF_AudioFilterItem *af)
 
void gf_af_reset (GF_AudioFilterItem *af)
 
static char * gf_audio_input_fetch_frame (void *callback, u32 *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)
 
void gf_sc_audio_setup (GF_AudioInput *ai, GF_Compositor *compositor, GF_Node *node)
 
void gf_sc_audio_predestroy (GF_AudioInput *ai)
 
GF_Err gf_sc_audio_open (GF_AudioInput *ai, MFURL *url, Double clipBegin, Double clipEnd, Bool lock_timeline)
 
void gf_sc_audio_stop (GF_AudioInput *ai)
 
void gf_sc_audio_restart (GF_AudioInput *ai)
 
Bool gf_sc_audio_check_url (GF_AudioInput *ai, MFURL *url)
 
void gf_sc_audio_register (GF_AudioInput *ai, GF_TraverseState *tr_state)
 
void gf_sc_audio_unregister (GF_AudioInput *ai)
 
static char * gf_af_fetch_frame (void *callback, u32 *size, u32 audio_delay_ms)
 
static void gf_af_release_frame (void *callback, u32 nb_bytes)
 
static Fixed gf_af_get_speed (void *callback)
 
static Bool gf_af_get_channel_volume (void *callback, Fixed *vol)
 
static Bool gf_af_is_muted (void *callback)
 
static Bool gf_af_get_config (GF_AudioInterface *ai, Bool for_reconf)
 

Data Structure Documentation

struct __audiofilteritem
+ Collaboration diagram for GF_AudioFilterItem:
Data Fields
GF_AudioInterface input
GF_AudioInterface * src
u32 out_chan
u32 out_ch_cfg
u32 nb_used
u32 nb_filled
GF_AudioFilterChain filter_chain

Macro Definition Documentation

#define ENABLE_EARLY_FRAME_DETECTION
#define MAX_RESYNC_TIME   1000

Function Documentation

GF_AudioFilterItem * gf_af_new ( GF_Compositor *  compositor,
GF_AudioInterface src,
char *  filter_name 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_af_del ( GF_AudioFilterItem *  af)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_af_reset ( GF_AudioFilterItem *  af)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static char* gf_audio_input_fetch_frame ( void *  callback,
u32 size,
u32  audio_delay_ms 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

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:

static Bool gf_audio_input_get_volume ( void *  callback,
Fixed vol 
)
static

+ Here is the caller graph for this function:

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:

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:

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:

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_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:

void gf_sc_audio_stop ( GF_AudioInput ai)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sc_audio_restart ( GF_AudioInput ai)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

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:

void gf_sc_audio_unregister ( GF_AudioInput ai)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static char* gf_af_fetch_frame ( void *  callback,
u32 size,
u32  audio_delay_ms 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void gf_af_release_frame ( void *  callback,
u32  nb_bytes 
)
static

+ Here is the caller graph for this function:

static Fixed gf_af_get_speed ( void *  callback)
static

+ Here is the caller graph for this function:

static Bool gf_af_get_channel_volume ( void *  callback,
Fixed vol 
)
static

+ Here is the caller graph for this function:

static Bool gf_af_is_muted ( void *  callback)
static

+ Here is the caller graph for this function:

static Bool gf_af_get_config ( GF_AudioInterface ai,
Bool  for_reconf 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function: