FSoundSourceDecoder::GetSourceBuffer

Get a decoded buffer for the given decoding sound wave handle. Call only from audio render thread or audio render thread task.

Windows
MacOS
Linux

References

Module

AudioMixer

Header

/Engine/Source/Runtime/AudioMixer/Public/SoundWaveDecoder.h

Include

#include "SoundWaveDecoder.h"

Source

/Engine/Source/Runtime/AudioMixer/Private/SoundWaveDecoder.cpp

Syntax

bool GetSourceBuffer
(
    const FDecodingSoundSourceHandle & InHandle,
    const int32 NumOutFrames,
    const int32 NumOutChannels,
    AlignedFloatBuffer & OutAudioBuffer
)

Remarks

Get a decoded buffer for the given decoding sound wave handle. Call only from audio render thread or audio render thread task.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss