Navigation
API > API/Runtime > API/Runtime/AVEncoder
Type
typedef TFunction< void(const FAudioByteBuffer &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.