Luanti 5.11.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

◆ is_stereo

bool sound::OggFileDecodeInfo::is_stereo

◆ length_samples

◆ 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: