#include <audio/component/inputcomponent.h>
Public Member Functions | |
AudioInputComponentInstance (EntityInstance &entity, Component &resource) | |
bool | init (utility::ErrorState &errorState) override |
int | getChannelCount () const override |
OutputPin * | getOutputForChannel (int channel) override |
void | setGain (ControllerValue gain) |
ControllerValue | getGain () const |
![]() | |
AudioComponentBaseInstance (EntityInstance &entity, Component &resource) | |
![]() | |
ComponentInstance (EntityInstance &entity, Component &resource) | |
virtual void | update (double deltaTime) |
nap::EntityInstance * | getEntityInstance () const |
nap::Component * | getComponent () const |
template<typename T > | |
T * | getComponent () const |
virtual bool | init (utility::ErrorState &errorState) |
![]() | |
Object () | |
virtual | ~Object () |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
![]() | |
virtual | ~IMultiChannelOutput ()=default |
OutputPin * | tryGetOutputForChannel (unsigned int) |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
![]() | |
NodeManager & | getNodeManager () |
AudioService & | getAudioService () |
Instance of component to receive audio input from the audio interface. Can be used as input to an OutputComponent of LevelMeterComponent.
AudioInputComponentInstance | ( | EntityInstance & | entity, |
Component & | resource | ||
) |
|
overridevirtual |
Override this method to specify the number of audio channels output by this object.
Implements IMultiChannelOutput.
ControllerValue getGain | ( | ) | const |
|
overridevirtual |
To be overridden by descendants.
channel | channel index to request the output for |
Implements IMultiChannelOutput.
|
overridevirtual |
Initializes this component based on it's resource.
errorState | contains the error when initialization fails. |
Reimplemented from ComponentInstance.
void setGain | ( | ControllerValue | gain | ) |
Set the input gain factor of the input signal.