Candy
|
The HVRSoundFilterNode is the base type for all sound filters. More...
Public Member Functions | |
HVRSoundFilterNode (H3D::Inst< H3D::SFNode > _metadata=0) | |
virtual std::string | defaultXMLContainerField () |
void | addSource (ALuint source_id) |
Add an OpenAL source id to use this filter. More... | |
void | removeSource (ALuint source_id) |
Remove a previously added OpenAL source id from this filter. More... | |
void | addEffect (ALuint source_id, ALuint effect_slot_id) |
Add an OpenAL effect to use this filter. More... | |
void | removeEffect (ALuint source_id, ALuint effect_slot_id) |
Remove a previously added OpenAL effect from this filter. More... | |
Static Public Attributes | |
static H3D::H3DNodeDatabase | database |
Protected Types | |
typedef std::set< ALuint > | source_list_t |
typedef std::pair< ALuint, ALuint > | source_slot_t |
typedef std::set< source_slot_t > | source_slot_list_t |
Protected Member Functions | |
void | pushParameterChanges () |
Protected Attributes | |
ALuint | filter_id |
source_list_t | sources |
Associated OpenAL identifiers. More... | |
source_slot_list_t | source_slots |
Associated OpenAL identifiers. More... | |
The HVRSoundFilterNode is the base type for all sound filters.
This node is a part of a sound node structure based on the OpenAL/EFX standards. It supports sound spatialization, sound Filters and filtering.
void HVR::HVRSoundFilterNode::addEffect | ( | ALuint | source_id, |
ALuint | effect_slot_id | ||
) |
Add an OpenAL effect to use this filter.
void HVR::HVRSoundFilterNode::addSource | ( | ALuint | source_id | ) |
Add an OpenAL source id to use this filter.
void HVR::HVRSoundFilterNode::removeEffect | ( | ALuint | source_id, |
ALuint | effect_slot_id | ||
) |
Remove a previously added OpenAL effect from this filter.
void HVR::HVRSoundFilterNode::removeSource | ( | ALuint | source_id | ) |
Remove a previously added OpenAL source id from this filter.
|
protected |
Associated OpenAL identifiers.
|
protected |
Associated OpenAL identifiers.