Om
1.0.0
A universal framework for multimedia simulation
|
A class that wraps a SoundInputStream object as a SoundNode. More...
#include <omEngineSoundNodes.h>
Public Member Functions | |
SoundInputStreamNode (SoundInputStream *newStream) | |
Create a new sound input stream node that wraps the specified input stream. 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 | |
SoundInputStream * | stream |
A pointer to the sound input stream that this node is wrapping. More... | |
A class that wraps a SoundInputStream object as a SoundNode.
|
inline |
Create a new sound input stream node that wraps the specified input stream.
|
virtual |
Return the number of input audio streams there are for this sound node.
Implements om::engine::sound::SoundNode.
|
virtual |
Return the number of output audio streams there are for this sound node.
Implements om::engine::sound::SoundNode.
|
virtual |
Process the given number of samples from the specified input frame and produce and output frame.
Implements om::engine::sound::SoundNode.
SoundInputStream* om::engine::sound::SoundInputStreamNode::stream |
A pointer to the sound input stream that this node is wrapping.