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