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

#include <videoaudiocomponent.h>

Public Member Functions

 VideoAudioComponent ()
 
- Public Member Functions inherited from AudioComponentBase
 AudioComponentBase ()
 
- 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

rtti::ObjectPtr< VideoPlayermVideoPlayer = nullptr
 Property: 'VideoPlayer' The video player to output sound from. More...
 
int mChannelCount = 2
 Property: 'ChannelCount' The number of channels of audio that will be requested from the Video object, defaults to 2. More...
 
bool mProcessAudio = true
 Property: 'ProcessAudio' If the audio stream is decoded when available. 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

Resource part of the VideoAudioComponent, outputs audio from a video stream. Without this component no video-audio is processed and therefore outputted.

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

Constructor & Destructor Documentation

◆ VideoAudioComponent()

Member Data Documentation

◆ mChannelCount

int mChannelCount = 2

Property: 'ChannelCount' The number of channels of audio that will be requested from the Video object, defaults to 2.

◆ mProcessAudio

bool mProcessAudio = true

Property: 'ProcessAudio' If the audio stream is decoded when available.

◆ mVideoPlayer

rtti::ObjectPtr<VideoPlayer> mVideoPlayer = nullptr

Property: 'VideoPlayer' The video player to output sound from.