#include <videoaudio.h>
Public Member Functions | |
| VideoNode (NodeManager &nodeManager, int channelCount, bool mDecodeAudio) | |
| int | getChannelCount () const |
| OutputPin & | getOutput (int channel) |
| void | setVideo (Video &video) |
Public Member Functions inherited from Node | |
| Node (NodeManager &manager) | |
| const std::set< OutputPin * > & | getOutputs () const |
| const std::set< InputPinBase * > & | getInputs () const |
Public Member Functions inherited from Process | |
| 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 | |
Protected Member Functions inherited from Node | |
| SampleBuffer & | getOutputBuffer (OutputPin &output) |
Protected Member Functions inherited from Process | |
| 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. |