#include <AudioInputStream.h>
Inherits Audio::AudioInputSource, and AudioStreamingRequestBus::Handler.
|
| AudioInputStreaming (const SAudioInputConfig &sourceConfig) |
|
void | ReadInput (const AudioStreamData &data) override |
|
void | WriteOutput (AkAudioBuffer *akBuffer) override |
|
bool | IsOk () const override |
|
void | OnDeactivated () override |
|
void | OnActivated () override |
|
size_t | ReadStreamingInput (const AudioStreamData &data) override |
|
size_t | ReadStreamingMultiTrackInput (AudioStreamMultiTrackData &data) override |
|
void | FlushStreamingInput () |
|
size_t | GetStreamingInputNumFramesReady () const |
|
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 |
|
|
SAudioInputConfig | m_config |
| Configuration information for the source type.
|
|
AkPlayingID | m_playingId = AK_INVALID_PLAYING_ID |
| Playing ID of the source.
|
|
A type of AudioInputSource representing an audio stream. holds a buffer of the raw data and provides methods to read chunks of data at a time to an output (AkAudioBuffer).
◆ IsOk()
bool Audio::AudioInputStreaming::IsOk |
( |
| ) |
const |
|
overridevirtual |
◆ OnActivated()
void Audio::AudioInputStreaming::OnActivated |
( |
| ) |
|
|
overridevirtual |
◆ OnDeactivated()
void Audio::AudioInputStreaming::OnDeactivated |
( |
| ) |
|
|
overridevirtual |
◆ ReadInput()
void Audio::AudioInputStreaming::ReadInput |
( |
const AudioStreamData & |
data | ) |
|
|
overridevirtual |
◆ WriteOutput()
void Audio::AudioInputStreaming::WriteOutput |
( |
AkAudioBuffer * |
akBuffer | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- Gems/AudioEngineWwise/Code/Source/Engine/AudioInput/AudioInputStream.h