Luanti 5.16.0-dev
Loading...
Searching...
No Matches
sound::OggFileDecodeInfo Struct Reference

Metadata of an Ogg-Vorbis file, used for decoding. More...

#include <ogg_file.h>

Collaboration diagram for sound::OggFileDecodeInfo:

Public Attributes

std::string name_for_logging
bool is_stereo
ALenum format
size_t bytes_per_sample
ALsizei freq
ALuint length_samples = 0
f32 length_seconds = 0.0f

Detailed Description

Metadata of an Ogg-Vorbis file, used for decoding.

We query this information once and store it in this struct.

Member Data Documentation

◆ bytes_per_sample

size_t sound::OggFileDecodeInfo::bytes_per_sample

◆ format

ALenum sound::OggFileDecodeInfo::format

◆ freq

ALsizei sound::OggFileDecodeInfo::freq

◆ is_stereo

bool sound::OggFileDecodeInfo::is_stereo

◆ length_samples

ALuint sound::OggFileDecodeInfo::length_samples = 0

◆ length_seconds

f32 sound::OggFileDecodeInfo::length_seconds = 0.0f

◆ name_for_logging

std::string sound::OggFileDecodeInfo::name_for_logging

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