OnAudioEncodeCallback

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

Windows
MacOS
Linux

Type

typedef TFunction< void &, const FAudioByteBuffer &AudioBytes)> OnAudioEncodeCallback

References

Module

AVEncoder

Header

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

Include

#include "AudioTypes.h"

Remarks

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

The unencoded audio sample buffer is not guaranteed to be available after callback finishes. The pointer of the encoded audio byte buffer should be valid until the next encode 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