#include <videoaudio.h>
Public Member Functions | |
VideoNode (NodeManager &nodeManager, int channelCount, bool mDecodeAudio) | |
int | getChannelCount () const |
OutputPin & | getOutput (int channel) |
void | setVideo (Video &video) |
![]() | |
Node (NodeManager &manager) | |
const std::set< OutputPin * > & | getOutputs () const |
const std::set< InputPinBase * > & | getInputs () const |
![]() | |
Process (NodeManager &nodeManager) | |
Process (ParentProcess &parent) | |
Process (const Process &)=delete | |
Process & | operator= (const Process &)=delete |
virtual | ~Process () |
void | update () |
NodeManager & | getNodeManager () const |
int | getBufferSize () const |
float | getSampleRate () const |
DiscreteTimeValue | getSampleTime () const |
Additional Inherited Members | |
![]() | |
SampleBuffer & | getOutputBuffer (OutputPin &output) |
![]() | |
virtual void | sampleRateChanged (float sampleRate) |
virtual void | bufferSizeChanged (int bufferSize) |
bool | isRegisteredWithNodeManager () const |
An audio node that retrieves the audio data from a playing video object
VideoNode | ( | NodeManager & | nodeManager, |
int | channelCount, | ||
bool | mDecodeAudio | ||
) |
Constructor takes the video object and the number of requested output channels.
int getChannelCount | ( | ) | const |
OutputPin& getOutput | ( | int | channel | ) |
channel | audio output channel index |
void setVideo | ( | Video & | video | ) |
Change the video source.
video | new video source. |