Open 3D Engine AudioEngineWwise Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Audio::AudioInputSource Class Referenceabstract

#include <AudioSourceManager.h>

Inherited by Audio::AudioInputFile, Audio::AudioInputMicrophone, and Audio::AudioInputStreaming.

Public Member Functions

virtual void ReadInput (const AudioStreamData &data)=0
 
virtual void WriteOutput (AkAudioBuffer *akBuffer)=0
 
virtual bool IsOk () const =0
 
virtual bool IsFormatValid () const
 
virtual void OnActivated ()
 
virtual void OnDeactivated ()
 
void SetFormat (AkAudioFormat &format)
 
void SetSourceId (TAudioSourceId sourceId)
 
TAudioSourceId GetSourceId () const
 

Protected Attributes

SAudioInputConfig m_config
 Configuration information for the source type.
 
AkPlayingID m_playingId = AK_INVALID_PLAYING_ID
 Playing ID of the source.
 

Detailed Description

Base class for Audio Input Source types. Represents an Audio Input Source, which has input/output routines and configuration information.


The documentation for this class was generated from the following file: