Navigation
Unreal Engine C++ API Reference > Runtime > MediaUtils
References
Module | MediaUtils |
Header | /Engine/Source/Runtime/MediaUtils/Public/MediaAudioResampler.h |
Include | #include "MediaAudioResampler.h" |
Syntax
class FMediaAudioResampler
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | ClearInput () |
Clear the input samples. |
![]() |
void | Flush () |
Flush the resampler. |
![]() |
uint32 | Generate
(
float* Output, |
Generate the next frame of audio. |
![]() |
void | Initialize
(
const uint32 InOutputChannels, |
Initialize the resampler. |
![]() |
bool | SetInput
(
const TSharedPtr< IMediaAudioSample, ESPMode::ThreadSafe >& Sample |
Set the audio sample to be resampled. |