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