typedef TFunction< void &, const FAudioByteBuffer &AudioBytes)> OnAudioEncodeCallback
Module |
|
Header |
/Engine/Source/Runtime/AVEncoder/Public/AudioTypes.h |
Include |
#include "AudioTypes.h" |
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.