Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Public Attributes | List of all members
om::engine::sound::SoundDeviceBusNode Class Reference

A class that wraps a SoundDeviceBus object as a SoundNode. More...

#include <omEngineSoundNodes.h>

Inheritance diagram for om::engine::sound::SoundDeviceBusNode:
om::engine::sound::SoundNode

Public Member Functions

 SoundDeviceBusNode (SoundDeviceBus *newBus)
 Create a new sound device bus node that wraps the specified sound device bus. More...
 
virtual Size getInputCount () const
 Return the number of input audio streams there are for this sound node. More...
 
virtual Size getOutputCount () const
 Return the number of output audio streams there are for this sound node. More...
 
virtual SoundResult process (const SoundFrame &inputFrame, SoundFrame &outputFrame, Size numSamples)
 Process the given number of samples from the specified input frame and produce and output frame. More...
 
- Public Member Functions inherited from om::engine::sound::SoundNode
virtual ~SoundNode ()
 Destroy a sound node and release all internal resources. More...
 

Public Attributes

SoundDeviceBusbus
 A pointer to the sound device bus that this node is wrapping. More...
 

Detailed Description

A class that wraps a SoundDeviceBus object as a SoundNode.

Constructor & Destructor Documentation

om::engine::sound::SoundDeviceBusNode::SoundDeviceBusNode ( SoundDeviceBus newBus)
inline

Create a new sound device bus node that wraps the specified sound device bus.

Member Function Documentation

virtual Size om::engine::sound::SoundDeviceBusNode::getInputCount ( ) const
virtual

Return the number of input audio streams there are for this sound node.

Implements om::engine::sound::SoundNode.

virtual Size om::engine::sound::SoundDeviceBusNode::getOutputCount ( ) const
virtual

Return the number of output audio streams there are for this sound node.

Implements om::engine::sound::SoundNode.

virtual SoundResult om::engine::sound::SoundDeviceBusNode::process ( const SoundFrame &  inputFrame,
SoundFrame &  outputFrame,
Size  numSamples 
)
virtual

Process the given number of samples from the specified input frame and produce and output frame.

Implements om::engine::sound::SoundNode.

Member Data Documentation

SoundDeviceBus* om::engine::sound::SoundDeviceBusNode::bus

A pointer to the sound device bus that this node is wrapping.


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