FWaveModInfo

Structure for in-memory interpretation and modification of WAVE sound structures.

Windows
MacOS
Linux

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

Name Description

Public variable

uint32

 

NewDataSize

Public variable

const uint32 &#...

 

pAvgBytesPerSec

Public variable

const uint16 &#...

 

pBitsPerSample

Public variable

const uint16 &#...

 

pBlockAlign

Public variable

const uint16 &#...

 

pChannels

Public variable

const uint16 &#...

 

pFormatTag

Public variable

const uint32 &#...

 

pMasterSize

Public variable

const uint32 &#...

 

pSamplesPerSec

Pointers to variables in the in-memory WAVE file.

Public variable

const uint32 &#...

 

pWaveDataSize

Public variable

const uint8 ...

 

SampleDataEnd

Public variable

uint32

 

SampleDataSize

Public variable

const uint8 ...

 

SampleDataStart

Public variable

const uint8 ...

 

WaveDataEnd

Constructors

Name Description

Public function

FWaveModInfo()

Constructor.

Functions

Name Description

Public function Static

uint32

 

Pad16Bit

(
    uint32 InDW
)

16-bit padding.

Public function

bool

 

ReadWaveHeader

(
    const uint8* RawWaveData,
    int32 Size,
    int32 Offset
)

Read a wave file header from bulkdata

Public function

bool

 

ReadWaveInfo

(
    const uint8* WaveData,
    int32 WaveDataSize,
    FString* ErrorMessage,
    bool InHeaderDataOnly,
    void** OutFormatHeader
)

Read headers and load all info pointers in WaveModInfo. Returns 0 if invalid data encountered.

Public function Const

void

 

ReportImportFailure()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback