FSoundSourceDecoder::Init

Initialize the source decoder at the given output sample rate Sources will automatically sample rate convert to match this output

Choose your operating system:

Windows

macOS

Linux

References

Module

AudioMixer

Header

/Engine/Source/Runtime/AudioMixer/Public/SoundWaveDecoder.h

Include

#include "SoundWaveDecoder.h"

Source

/Engine/Source/Runtime/AudioMixer/Private/SoundWaveDecoder.cpp

Syntax

void Init
(
    FAudioDevice * InAudioDevice,
    int32 SampleRate
)

Remarks

Initialize the source decoder at the given output sample rate Sources will automatically sample rate convert to match this output