Navigation
API > API/Runtime > API/Runtime/AudioMixer > API/Runtime/AudioMixer/FDecodingSoundSource
Object used for source generation from decoded buffers.
| Name | FSourceInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/AudioMixer/Public/SoundWaveDecoder.h |
| Include Path | #include "SoundWaveDecoder.h" |
Syntax
struct FSourceInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSourceInfo() |
SoundWaveDecoder.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BasePitchScale | float | The pitch scale to use to account for sample rate differences of source to output sample rate. | SoundWaveDecoder.h | |
| bHasStarted | bool | If this sound hasn't yet started rendering audio. | SoundWaveDecoder.h | |
| bIsDone | bool | If this sound is done (has decoded all data) | SoundWaveDecoder.h | |
| bIsLastBuffer | bool | If this is the last decoded buffer. | SoundWaveDecoder.h | |
| CurrentAudioChunkNumFrames | int32 | Number of frames of current decoded chunk. | SoundWaveDecoder.h | |
| CurrentFrameAlpha | float | The current frame alpha (how far we are between current and next frame) | SoundWaveDecoder.h | |
| CurrentFrameIndex | int32 | The current frame index. | SoundWaveDecoder.h | |
| CurrentFrameValues | TArray< float > | Buffer to store current decoded audio frame. | SoundWaveDecoder.h | |
| CurrentPCMBuffer | TSharedPtr< FAlignedFloatBuffer, ESPMode::ThreadSafe > | The current decoded PCM buffer we are reading from. | SoundWaveDecoder.h | |
| NextFrameValues | TArray< float > | Buffer to store next decoded audio frame. | SoundWaveDecoder.h | |
| NumFramesGenerated | uint32 | Total number of frames generated (could be larger or smaller than number of frames read) | SoundWaveDecoder.h | |
| NumFramesRead | uint32 | Total number of frames played (or read from decoded buffers) so far. Will always be less than TotalNumFrames. | SoundWaveDecoder.h | |
| NumSourceChannels | int32 | Number of channels of source file. | SoundWaveDecoder.h | |
| PitchParam | FParam | The pitch param object, allows easy pitch interpolation. | SoundWaveDecoder.h | |
| PitchResetFrame | uint32 | The frame count (from frames generated) to reset the pitch param. | SoundWaveDecoder.h | |
| PitchScale | float | SoundWaveDecoder.h | ||
| TotalNumFrames | uint32 | Total number of frames of source file. | SoundWaveDecoder.h | |
| VolumeParam | FParam | The volume param object, allows easy volume interpolation. | SoundWaveDecoder.h | |
| VolumeResetFrame | uint32 | The frame count (from frames generated) to reset the volume param. | SoundWaveDecoder.h |