OnAudioDecodeCallback

The callback is called to decode the byte-by-byte buffer to the sample buffer format.

Windows
MacOS
Linux

Type

typedef TFunction< void &AudioBytes, const FAudioSampleBuffer &)> OnAudioDecodeCallback

References

Module

AVEncoder

Header

/Engine/Source/Runtime/AVEncoder/Public/AudioTypes.h

Include

#include "AudioTypes.h"

Remarks

The callback is called to decode the byte-by-byte buffer to the sample buffer format.

The undecoded audio byte buffer is not guaranteed to be available after callback finishes. The pointer of the decoded audio sample buffer should be valid until the next decode call will happen.

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