Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Audio.h |
| Include | #include "Audio.h" |
Syntax
class FWaveModInfo
Remarks
Structure for in-memory interpretation and modification of WAVE sound structures.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32 | NewDataSize | ||
| const uint32 * | pAvgBytesPerSec | ||
| const uint16 * | pBitsPerSample | ||
| const uint16 * | pBlockAlign | ||
| const uint16 * | pChannels | ||
| const uint16 * | pFormatTag | ||
| const uint32 * | pMasterSize | ||
| const uint32 * | pSamplesPerSec | Pointers to variables in the in-memory WAVE file. | |
| const uint32 * | pWaveDataSize | ||
| const uint8 * | SampleDataEnd | ||
| uint32 | SampleDataSize | ||
| const uint8 * | SampleDataStart | ||
| TPimplPtr< FSoundWaveTimecodeInfo, EPimplPtrMode::DeepCopy > | TimecodeInfo | Timecode data if it was found on import. | |
| TArray< FWaveCue > | WaveCues | List of cues parsed from the wave file. | |
| const uint8 * | WaveDataEnd | ||
| TArray< FWaveSampleLoop > | WaveSampleLoops | List of sample loops parsed from the wave file. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWaveModInfo () |
Constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | Return total number of samples | ||
| const TArray< uint32 > & | |||
| const TArray< uint32 > & | Wave Chunk Id utils | ||
| uint32 | Pad16Bit
(
uint32 InDW |
16-bit padding. | |
| bool | ReadWaveHeader
(
const uint8* RawWaveData, |
Read a wave file header from bulkdata | |
| bool | ReadWaveInfo
(
const uint8* WaveData, |
Read headers and load all info pointers in WaveModInfo. Returns 0 if invalid data encountered. | |
| void |