SPIN Framework
Public Member Functions | Public Attributes

spin::SoundConnection Class Reference

An explicit connection between two sound elements (ie, subclassed from DSPNode) More...

#include <SoundConnection.h>

List of all members.

Public Member Functions

 SoundConnection (SceneManager *s, osg::ref_ptr< DSPNode > src, osg::ref_ptr< DSPNode > snk)
std::string getID ()
void setThru (int newvalue)
void setDistanceEffect (float newvalue)
void setRolloffEffect (float newvalue)
void setDopplerEffect (float newvalue)
void setDiffractionEffect (float newvalue)
int getThru () const
float getDistanceEffect () const
float getRolloffEffect () const
float getDopplerEffect () const
float getDiffractionEffect () const
void debug ()
virtual std::vector< lo_message > getState () const
virtual void stateDump ()
virtual void stateDump (lo_address addr)

Public Attributes

DSPNodesource
DSPNodesink

Detailed Description

An explicit connection between two sound elements (ie, subclassed from DSPNode)

By default, sounds are not "connected" to each other. To specify that sound should travel from one node to another, an SoundConnection instance must be made. The correct way to do this is to call the connect() method for the DSPNode that represents the source of the connection.


The documentation for this class was generated from the following files: