NAP
Public Member Functions | Public Attributes | List of all members
OutputComponent Class Reference

#include <audio/component/outputcomponent.h>

Public Member Functions

 OutputComponent ()
 
- Public Member Functions inherited from Component
virtual void getDependentComponents (std::vector< rtti::TypeInfo > &components) const
 
virtual const rtti::TypeInfo getInstanceType () const =0
 
- Public Member Functions inherited from Resource
 Resource ()
 
- Public Member Functions inherited from Object
 Object ()
 
virtual ~Object ()
 
virtual bool init (utility::ErrorState &errorState)
 
virtual void onDestroy ()
 
 Object (Object &)=delete
 
Objectoperator= (const Object &)=delete
 
 Object (Object &&)=delete
 
Objectoperator= (Object &&)=delete
 

Public Attributes

nap::ComponentPtr< AudioComponentBasemInput
 property: 'Input' The component whose audio output to route to the interface More...
 
std::vector< int > mChannelRouting
 property: 'Routing' the channels to output More...
 
- Public Attributes inherited from Object
std::string mID
 Property: 'mID' unique name of the object. Used as an identifier by the system. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Object
static bool isIDProperty (rtti::Instance &object, const rtti::Property &property)
 

Description

Routs the output from an audio component to the audio interface.

Inheritance diagram for OutputComponent:
[legend]
Collaboration diagram for OutputComponent:
[legend]

Constructor & Destructor Documentation

◆ OutputComponent()

Member Data Documentation

◆ mChannelRouting

std::vector<int> mChannelRouting

property: 'Routing' the channels to output

Each element in the array represents one output channel on the audio interface. The value of the element indicates the channel from the input that will be routed to the corresponding output. A value of -1 means no output will be sent to the corresponding channel.

◆ mInput

property: 'Input' The component whose audio output to route to the interface