Module |
|
Header |
/Engine/Source/Runtime/MediaUtils/Public/MediaAudioResampler.h |
Include |
#include "MediaAudioResampler.h" |
Source |
/Engine/Source/Runtime/MediaUtils/Private/MediaAudioResampler.cpp |
uint32 Generate
(
float * Output,
FMediaTimeStamp & OutTime,
const uint32 FramesRequested,
float Rate,
FTimespan Time,
FMediaAudioSampleSource & SampleSource,
uint32 & JumpFrame
)
Generate the next frame of audio.
The actual number of frames returned.
Parameter |
Description |
---|---|
Output |
The output sample buffer (will be incremented by the number of sample values written). |
OutTime |
The time of the first output frame that was returned. |
FramesRequested |
The maximum number of frames to get. |
Rate |
The current play rate. |
Time |
The current play time. |
SampleSource |
The object that provides more audio samples if needed. |
JumpFrame |
Frame that a jump in time occured on. |