libgpac
Documentation of the core library of GPAC
Loading...
Searching...
No Matches
mpeg4_sound.c File Reference
#include "nodes_stacks.h"
#include "visual_manager.h"

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
Data Fields
GF_SoundInterface snd_ifce
SFVec3f pos

◆ SoundStack

struct 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

◆ SND2D_GetChannelVolume()

static Bool SND2D_GetChannelVolume ( GF_Node node,
Fixed vol 
)
static

◆ compositor_init_sound2d()

void compositor_init_sound2d ( GF_Compositor *  compositor,
GF_Node node 
)

◆ snd_compute_gain()

static Fixed snd_compute_gain ( Fixed  min_b,
Fixed  min_f,
Fixed  max_b,
Fixed  max_f,
SFVec3f  pos 
)
static

◆ TraverseSound()

static void TraverseSound ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

◆ SND_GetChannelVolume()

static Bool SND_GetChannelVolume ( GF_Node node,
Fixed vol 
)
static

◆ compositor_init_sound()

void compositor_init_sound ( GF_Compositor *  compositor,
GF_Node node 
)