UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Audio::FSoundFileDescription Struct Reference

#include <SoundFile.h>

Public Attributes

int64 NumFrames = 0
 
int32 SampleRate = 0
 
int32 NumChannels = 0
 
int32 FormatFlags = 0
 
int32 NumSections = 0
 
int32 bIsSeekable = 0
 

Detailed Description

Specifies a sound file description.

Note that libsndfile reads some of these fields (noteably FormatFlags and bIsSeekable) at file open time so we zero them out at construction time to avoid unexpected/intermintent issues.

Member Data Documentation

◆ bIsSeekable

int32 Audio::FSoundFileDescription::bIsSeekable = 0

Whether or not the sound file is seekable.

◆ FormatFlags

int32 Audio::FSoundFileDescription::FormatFlags = 0

The format flags of the sound file.

◆ NumChannels

int32 Audio::FSoundFileDescription::NumChannels = 0

The number of channels of the sound file.

◆ NumFrames

int64 Audio::FSoundFileDescription::NumFrames = 0

The number of frames (interleaved samples) in the sound file.

◆ NumSections

int32 Audio::FSoundFileDescription::NumSections = 0

The number of sections of the sound file.

◆ SampleRate

int32 Audio::FSoundFileDescription::SampleRate = 0

The sample rate of the sound file.


The documentation for this struct was generated from the following file: