libgpac
Documentation of the core library of GPAC
mpeg4_audio.c File Reference
#include "nodes_stacks.h"
+ Include dependency graph for mpeg4_audio.c:

Data Structures

struct  AudioBufferStack
 

Functions

static void audioclip_activate (AudioClipStack *st, M_AudioClip *ac)
 
static void audioclip_deactivate (AudioClipStack *st, M_AudioClip *ac)
 
static void audioclip_traverse (GF_Node *node, void *rs, Bool is_destroy)
 
static void audioclip_update_time (GF_TimeNode *tn)
 
void compositor_init_audioclip (GF_Compositor *compositor, GF_Node *node)
 
void compositor_audioclip_modified (GF_Node *node)
 
static void audiosource_activate (AudioSourceStack *st, M_AudioSource *as)
 
static void audiosource_deactivate (AudioSourceStack *st, M_AudioSource *as)
 
static void audiosource_traverse (GF_Node *node, void *rs, Bool is_destroy)
 
static void audiosource_update_time (GF_TimeNode *tn)
 
void compositor_init_audiosource (GF_Compositor *compositor, GF_Node *node)
 
void compositor_audiosource_modified (GF_Node *node)
 
static void audiobuffer_traverse (GF_Node *node, void *rs, Bool is_destroy)
 
static void audiobuffer_activate (AudioBufferStack *st, M_AudioBuffer *ab)
 
static void audiobuffer_deactivate (AudioBufferStack *st, M_AudioBuffer *ab)
 
static void audiobuffer_update_time (GF_TimeNode *tn)
 
static u8audiobuffer_fetch_frame (void *callback, u32 *size, u32 *planar_stride, u32 audio_delay_ms)
 
static void audiobuffer_release_frame (void *callback, u32 nb_bytes)
 
static Fixed audiobuffer_get_speed (void *callback)
 
static Bool audiobuffer_get_volume (void *callback, Fixed *vol)
 
static Bool audiobuffer_is_muted (void *callback)
 
static Bool audiobuffer_get_config (GF_AudioInterface *aifc, Bool for_reconf)
 
void audiobuffer_add_source (GF_AudioGroup *_this, GF_AudioInput *src)
 
void setup_audiobuffer (GF_AudioInput *ai, GF_Compositor *compositor, GF_Node *node)
 
void compositor_init_audiobuffer (GF_Compositor *compositor, GF_Node *node)
 
void compositor_audiobuffer_modified (GF_Node *node)
 

Data Structure Documentation

◆ AudioBufferStack

struct AudioBufferStack
+ Collaboration diagram for AudioBufferStack:
Data Fields
AUDIO_GROUP_NODE GF_TimeNode time_handle
Double start_time
Bool set_duration
GF_AudioMixer * am
Bool is_init
Bool is_muted
char * buffer
u32 buffer_size
Bool done
u32 read_pos
u32 write_pos
u32 cur_cts
GF_List * new_inputs

Function Documentation

◆ audioclip_activate()

static void audioclip_activate ( AudioClipStack st,
M_AudioClip *  ac 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ audioclip_deactivate()

static void audioclip_deactivate ( AudioClipStack st,
M_AudioClip *  ac 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ audioclip_traverse()

static void audioclip_traverse ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ audioclip_update_time()

static void audioclip_update_time ( GF_TimeNode tn)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_audioclip()

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

◆ compositor_audioclip_modified()

void compositor_audioclip_modified ( GF_Node node)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ audiosource_activate()

static void audiosource_activate ( AudioSourceStack st,
M_AudioSource *  as 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ audiosource_deactivate()

static void audiosource_deactivate ( AudioSourceStack st,
M_AudioSource *  as 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ audiosource_traverse()

static void audiosource_traverse ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ audiosource_update_time()

static void audiosource_update_time ( GF_TimeNode tn)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_audiosource()

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

◆ compositor_audiosource_modified()

void compositor_audiosource_modified ( GF_Node node)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ audiobuffer_traverse()

static void audiobuffer_traverse ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ audiobuffer_activate()

static void audiobuffer_activate ( AudioBufferStack st,
M_AudioBuffer *  ab 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ audiobuffer_deactivate()

static void audiobuffer_deactivate ( AudioBufferStack st,
M_AudioBuffer *  ab 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ audiobuffer_update_time()

static void audiobuffer_update_time ( GF_TimeNode tn)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ audiobuffer_fetch_frame()

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

◆ audiobuffer_release_frame()

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

◆ audiobuffer_get_speed()

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

◆ audiobuffer_get_volume()

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

◆ audiobuffer_is_muted()

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

◆ audiobuffer_get_config()

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

◆ audiobuffer_add_source()

void audiobuffer_add_source ( GF_AudioGroup _this,
GF_AudioInput src 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setup_audiobuffer()

void setup_audiobuffer ( 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:

◆ compositor_init_audiobuffer()

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

◆ compositor_audiobuffer_modified()

void compositor_audiobuffer_modified ( GF_Node node)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: