FMediaAudioResampler

Windows
MacOS
Linux

References

Module

MediaUtils

Header

/Engine/Source/Runtime/MediaUtils/Public/MediaAudioResampler.h

Include

#include "MediaAudioResampler.h"

Syntax

class FMediaAudioResampler

Constructors

Name Description

Public function

FMediaAudioResampler()

Default constructor.

Functions

Name Description

Protected function

void

 

ClearInput()

Clear the input samples.

Public function

void

 

Flush()

Flush the resampler.

Public function

uint32

 

Generate

(
    float* Output,
    FTimespan& OutTime,
    const uint32 FramesRequested,
    float Rate,
    FTimespan Time,
    FMediaAudioSampleSource& SampleSou...,
    uint32& JumpFrame
)

Generate the next frame of audio.

Public function

void

 

Initialize

(
    const uint32 InOutputChannels,
    const uint32 InOutputSampleRate
)

Initialize the resampler.

Protected function

bool

 

SetInput

(
    const TSharedPtr< IMediaAudioSample...
)

Set the audio sample to be resampled.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss