FSoundSourceDecoder::GetSourceBuffer

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

Choose your operating system:

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,
    FAlignedFloatBuffer & OutAudioBuffer
)

Remarks

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