Navigation
API > API/Runtime > API/Runtime/AudioMixer
References
| Module | AudioMixer |
| Header | /Engine/Source/Runtime/AudioMixer/Public/SoundWaveDecoder.h |
| Include | #include "SoundWaveDecoder.h" |
Syntax
class FDecodingSoundSource
Constructors
| Type | Name | Description | |
|---|---|---|---|
FDecodingSoundSource
(
FAudioDevice* AudioDevice, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GetAudioBuffer
(
const int32 InNumFrames, |
Get audio buffer. | |
| USoundWave * | GetSoundWave () |
Return the underlying sound wave. | |
| TObjectPtr< USoundWave > & | |||
| void | Init () |
Initializes the decoding source. | |
| bool | IsFinished () |
If the sound source finished playing all its source. Will only return true for non-looping sources. | |
| bool | Returns if we've been initialized. | ||
| bool | Queries if we're ready to initialize. | ||
| bool | PreInit
(
int32 OutputSampleRate |
Called before we initialize. | |
| void | SetForceSyncDecode
(
bool bShouldForceSyncDecode |
Sets the ForceSyncDecode flag. (Decodes for this soundwave will not happen in an async task if true) | |
| void | SetPitchScale
(
float InPitchScale, |
Sets the pitch scale. | |
| void | SetVolumeScale
(
float InVolumeScale, |
Sets the volume scale. |