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