#include <MediaAudioResampler.h>
◆ FMediaAudioResampler()
| FMediaAudioResampler::FMediaAudioResampler |
( |
| ) |
|
◆ ClearInput()
| void FMediaAudioResampler::ClearInput |
( |
| ) |
|
|
protected |
Clear the input samples.
- See also
- SetInput
◆ Flush()
| void FMediaAudioResampler::Flush |
( |
| ) |
|
◆ Generate()
Generate the next frame of audio.
- Parameters
-
| 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. |
- Returns
- The actual number of frames returned.
◆ Initialize()
| void FMediaAudioResampler::Initialize |
( |
const uint32 |
InOutputChannels, |
|
|
const uint32 |
InOutputSampleRate |
|
) |
| |
Initialize the resampler.
- Parameters
-
| InOutputSampleRate | Desired output sample rate. |
- See also
- SetAudioSamples
◆ SetInput()
Set the audio sample to be resampled.
- Parameters
-
| Sample | The input audio sample. |
- Returns
- true on success, false otherwise.
- See also
- ClearInput
The documentation for this class was generated from the following files: