USoundWave::GetImportedSoundWaveData

Utility which returns imported PCM data and the parsed header for the file.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h

Include

#include "Sound/SoundWave.h"

Source

/Engine/Source/Runtime/Engine/Private/SoundWave.cpp

Syntax

bool GetImportedSoundWaveData
(
    TArray< uint8 > & OutRawPCMData,
    uint32 & OutSampleRate,
    TArray< EAudioSpeakers > & OutChannelOrder
) const

Remarks

Utility which returns imported PCM data and the parsed header for the file. Returns true if there was data, false if there wasn't.