/Engine/Source/Runtime/Engine/Public/AudioDecompress.h
Default implementation of a streamed compressed audio format. Can be subclassed to support streaming of a specific asset format. Handles all the platform independent aspects of file format streaming for you (dealing with UE streamed assets)
class IStreamedCompressedInfo : public [ICompressedAudioInfo](API\Runtime\Engine\ICompressedAudioInfo)
uint32
AudioDataChunkIndex
The chunk index where the actual audio data starts.
uint32
AudioDataOffset
Where the actual audio data starts in the current streamed chunk. Accounts for header offset.
bool
bIsStreaming
Bool set before ParseHeader. Whether we are streaming a file or not.
bool
bPrintChunkFailMessage
Whether or not to print the chunk fail message.
bool
bStoringEndOfFile
If we're currently reading the final buffer.
FAudioChunkHand...
CurCompressedChunkHandle
Chunk Handle to ensure that this chunk of streamed audio is not deleted while we are using it.
int32
CurrentChunkIndex
The current chunk index in the streamed chunks.
TPimplPtr<FStr...
CurrentChunkSeekTable
If there's a chunked seek-table present, this contains the current chunks portion.
uint32
CurrentSampleCount
How many samples we've currently read in the source file.
TArray< uint8 >
LastDecodedPCM
The decoded PCM byte array from the last decoded frame.
uint32
LastPCMByteSize
The amount of PCM data in bytes was decoded last.
uint32
LastPCMOffset
The current offset in the last decoded PCM buffer.
uint32
MaxFrameSizeSamples
The maximum number of samples per decode frame.
uint8
NumChannels
Number of channels (left/right) in the source file.
uint32
SampleStride
The number of bytes per interleaved sample (NumChannels * sizeof(int16)).
const uint8 ...
SrcBufferData
Ptr to the current streamed chunk.
uint32
SrcBufferDataSize
Size of the current streamed chunk.
uint32
SrcBufferOffset
What byte we're currently reading in the streamed chunk.
uint32
SrcBufferPadding
Number of bytes of padding used, overridden in some implementations. Defaults to 0.
std::atomic< in...
StreamSeekBlockIndex
When a streaming seek request comes down, this is the block we are going to.
int32
StreamSeekBlockOffset
When a streaming seek request comes down, this is the offset in to the block we want to start decoding from.
uint32
StreamSeekToAudioFrames
If using the Chunked seek-tables, we request the seek in samples so we can resolve after the chunk table loads.
uint32
TrueSampleCount
The total sample count of the source file.