Navigation
API > API/Runtime > API/Runtime/AudioMixer
Inheritance Hierarchy
- FGCObject
- FSoundSourceDecoder
References
| Module | AudioMixer |
| Header | /Engine/Source/Runtime/AudioMixer/Public/SoundWaveDecoder.h |
| Include | #include "SoundWaveDecoder.h" |
Syntax
class FSoundSourceDecoder : public FGCObject
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDecodingSoundSourceHandle | CreateSourceHandle
(
USoundWave* InSoundWave |
Creates a new decoding sound source handle. | |
| bool | GetSourceBuffer
(
const FDecodingSoundSourceHandle& InHandle, |
Get a decoded buffer for the given decoding sound wave handle. Call only from audio render thread or audio render thread task. | |
| void | Init
(
FAudioDevice* InAudioDevice, |
Initialize the source decoder at the given output sample rate Sources will automatically sample rate convert to match this output | |
| bool | InitDecodingSource
(
const FSourceDecodeInit& InitData |
Initialize a decoding instance of this sound wave object. Call only from game thread. | |
| bool | IsFinished
(
const FDecodingSoundSourceHandle& InHandle |
Queries if the decoding source is finished. | |
| bool | IsInitialized
(
const FDecodingSoundSourceHandle& InHandle |
||
| void | RemoveDecodingSource
(
const FDecodingSoundSourceHandle& Handle |
Removes the decoding source from the decoder. | |
| void | Reset () |
Resets internal state of decoder. | |
| void | SetSourcePitchScale
(
const FDecodingSoundSourceHandle& Handle, |
Sets the source pitch scale. | |
| void | SetSourceVolumeScale
(
const FDecodingSoundSourceHandle& Handle, |
Sets the source volume scale. | |
| void | Update () |
Called from the audio thread. | |
| void | Called from the audio render thread. |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
Pure virtual that must be overloaded by the inheriting class. | |
| FString | Overload this method to report a name for your referencer |