FSampleBufferReader::Generate

Generates the next block of audio. Returns true if it's no longer playing (reached end of the buffer and not set to wrap)

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

/Engine/Source/Runtime/SignalProcessing/Public/DSP/SampleBufferReader.h

Include

#include "DSP/SampleBufferReader.h"

Source

/Engine/Source/Runtime/SignalProcessing/Private/SampleBufferReader.cpp

Syntax

bool Generate
(
    float * OutAudioBuffer,
    const int32 NumFrames,
    const int32 OutChannels,
    const bool bWrap
)

Remarks

Generates the next block of audio. Returns true if it's no longer playing (reached end of the buffer and not set to wrap)

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