UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Audio::FDecodingSoundSource Class Reference

#include <SoundWaveDecoder.h>

Public Member Functions

 FDecodingSoundSource (FAudioDevice *AudioDevice, const FSourceDecodeInit &InitData)
 
 ~FDecodingSoundSource ()
 
bool PreInit (int32 OutputSampleRate)
 
bool IsReadyToInit ()
 
void Init ()
 
bool IsInitialized () const
 
bool IsFinished () const
 
void SetPitchScale (float InPitchScale, uint32 NumFrames=512)
 
void SetVolumeScale (float InVolumeScale, uint32 NumFrames=512)
 
void SetForceSyncDecode (bool bShouldForceSyncDecode)
 
bool GetAudioBuffer (const int32 InNumFrames, const int32 InNumChannels, FAlignedFloatBuffer &OutAudioBuffer)
 
USoundWaveGetSoundWave ()
 
TObjectPtr< USoundWave > & GetSoundWavePtr ()
 

Constructor & Destructor Documentation

◆ FDecodingSoundSource()

Audio::FDecodingSoundSource::FDecodingSoundSource ( FAudioDevice AudioDevice,
const FSourceDecodeInit InitData 
)

◆ ~FDecodingSoundSource()

Audio::FDecodingSoundSource::~FDecodingSoundSource ( )

Member Function Documentation

◆ GetAudioBuffer()

bool Audio::FDecodingSoundSource::GetAudioBuffer ( const int32  InNumFrames,
const int32  InNumChannels,
FAlignedFloatBuffer OutAudioBuffer 
)

◆ GetSoundWave()

USoundWave * Audio::FDecodingSoundSource::GetSoundWave ( )
inline

◆ GetSoundWavePtr()

TObjectPtr< USoundWave > & Audio::FDecodingSoundSource::GetSoundWavePtr ( )
inline

◆ Init()

void Audio::FDecodingSoundSource::Init ( )

◆ IsFinished()

bool Audio::FDecodingSoundSource::IsFinished ( ) const
inline

◆ IsInitialized()

bool Audio::FDecodingSoundSource::IsInitialized ( ) const
inline

◆ IsReadyToInit()

bool Audio::FDecodingSoundSource::IsReadyToInit ( )

◆ PreInit()

bool Audio::FDecodingSoundSource::PreInit ( int32  OutputSampleRate)

◆ SetForceSyncDecode()

void Audio::FDecodingSoundSource::SetForceSyncDecode ( bool  bShouldForceSyncDecode)

◆ SetPitchScale()

void Audio::FDecodingSoundSource::SetPitchScale ( float  InPitchScale,
uint32  NumFrames = 512 
)

◆ SetVolumeScale()

void Audio::FDecodingSoundSource::SetVolumeScale ( float  InVolumeScale,
uint32  NumFrames = 512 
)

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