Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- ICompressedAudioInfo
- FADPCMAudioInfo
- IStreamedCompressedInfo
- FBinkAudioInfo
- FOpusAudioInfo
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/AudioDecompress.h |
| Include | #include "AudioDecompress.h" |
Syntax
class ICompressedAudioInfo
Remarks
Interface class to decompress various types of audio data
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSoundWaveProxyPtr | StreamingSoundWave |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | EnableHalfRate
(
bool HalfRate |
Sets decode to half-rate | |
| void | ExpandFile
(
uint8* DstBuffer, |
Decompress an entire data file to a TArray | |
| int32 | Gets the chunk index that was last read from (for Streaming Manager requests) | ||
| int32 | Gets the offset into the chunk that was last read to (for Streaming Manager priority) | ||
| uint32 | Gets the size of the source buffer originally passed to the info class (bytes) | ||
| int | Gets the preferred size for a streaming buffer for this decompression scheme | ||
| const FSoundWaveProxyPtr & | Return the streaming sound wave used by this decoder. | ||
| bool | HasError () |
Returns true if a non-recoverable error has occurred. | |
| bool | Returns whether this instance can be cast to a IStreamedCompressedInfo. | ||
| bool | ReadCompressedData
(
uint8* Destination, |
Decompresses data to raw PCM data. | |
| bool | ReadCompressedInfo
(
const uint8* InSrcBufferData, |
Reads the header information of a compressed format | |
| bool | ReleaseStreamChunk
(
bool bBlockUntilReleased |
This can be called to explicitly release this decoder's reference to a chunk of compressed audio without destroying the decoder itself. | |
| void | SeekToTime
(
const float SeekTime |
Seeks to time (Some formats might not be seekable) | |
| bool | StreamCompressedData
(
uint8* Destination, |
Decompresses streamed data to raw PCM data. | |
| bool | StreamCompressedInfo
(
USoundWave* Wave, |
Streams the header information of a compressed format | |
| bool | StreamCompressedInfo
(
const FSoundWaveProxyPtr& Wave, |
Streams the header information of a compressed format | |
| bool | StreamCompressedInfoInternal
(
const FSoundWaveProxyPtr& InWaveProxy, |
Internal override implemented by subclasses. | |
| bool | Following functions are optional if streaming is supported //. | ||
| bool | Whether the decompressed audio will be arranged using Vorbis' channel ordering See http://www.xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-800004.3.9 for details |