OpenClonk
C4SoundLoaders::SoundInfo Struct Reference

#include <C4SoundLoaders.h>

Public Member Functions

 SoundInfo ()
 

Public Attributes

double sample_length
 
uint32_t sample_rate
 
std::vector< BYTEsound_data
 
ALenum format
 
C4SoundHandle final_handle {0}
 

Detailed Description

Definition at line 24 of file C4SoundLoaders.h.

Constructor & Destructor Documentation

◆ SoundInfo()

C4SoundLoaders::SoundInfo::SoundInfo ( )
inline

Definition at line 35 of file C4SoundLoaders.h.

35 : sound_data() {}
std::vector< BYTE > sound_data

Member Data Documentation

◆ final_handle

C4SoundHandle C4SoundLoaders::SoundInfo::final_handle {0}

Definition at line 33 of file C4SoundLoaders.h.

Referenced by C4SoundEffect::Load(), and C4SoundLoaders::WavLoader::ReadInfo().

◆ format

ALenum C4SoundLoaders::SoundInfo::format

◆ sample_length

double C4SoundLoaders::SoundInfo::sample_length

◆ sample_rate

uint32_t C4SoundLoaders::SoundInfo::sample_rate

◆ sound_data

std::vector<BYTE> C4SoundLoaders::SoundInfo::sound_data

Definition at line 29 of file C4SoundLoaders.h.

Referenced by C4SoundEffect::Load(), and C4SoundLoaders::VorbisLoader::ReadInfo().


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