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

Data Structures

struct  Sound2DStack
 
struct  SoundStack
 

Functions

static void TraverseSound2D (GF_Node *node, void *rs, Bool is_destroy)
 
static Bool SND2D_GetChannelVolume (GF_Node *node, Fixed *vol)
 
void compositor_init_sound2d (GF_Compositor *compositor, GF_Node *node)
 
static Fixed snd_compute_gain (Fixed min_b, Fixed min_f, Fixed max_b, Fixed max_f, SFVec3f pos)
 
static void TraverseSound (GF_Node *node, void *rs, Bool is_destroy)
 
static Bool SND_GetChannelVolume (GF_Node *node, Fixed *vol)
 
void compositor_init_sound (GF_Compositor *compositor, GF_Node *node)
 

Data Structure Documentation

◆ Sound2DStack

struct Sound2DStack
+ Collaboration diagram for Sound2DStack:
Data Fields
GF_SoundInterface snd_ifce
SFVec3f pos

◆ SoundStack

struct SoundStack
+ Collaboration diagram for SoundStack:
Data Fields
GF_SoundInterface snd_ifce
GF_Matrix mx
SFVec3f last_pos
Bool identity
Fixed intensity
Fixed lgain
Fixed rgain

Function Documentation

◆ TraverseSound2D()

static void TraverseSound2D ( 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:

◆ SND2D_GetChannelVolume()

static Bool SND2D_GetChannelVolume ( GF_Node node,
Fixed vol 
)
static
+ Here is the caller graph for this function:

◆ compositor_init_sound2d()

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

◆ snd_compute_gain()

static Fixed snd_compute_gain ( Fixed  min_b,
Fixed  min_f,
Fixed  max_b,
Fixed  max_f,
SFVec3f  pos 
)
static
+ Here is the caller graph for this function:

◆ TraverseSound()

static void TraverseSound ( 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:

◆ SND_GetChannelVolume()

static Bool SND_GetChannelVolume ( GF_Node node,
Fixed vol 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_sound()

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