VOX
A little voxel engine
Loading...
Searching...
No Matches
Sound::Data Class Reference

#include <AudioData.hpp>

Collaboration diagram for Sound::Data:
Collaboration graph

Public Member Functions

 Data (const std::string &file_name)
 
 ~Data ()
 

Public Attributes

uint16_t audio_format = 0
 
uint16_t num_channels = 0
 
uint32_t sample_rate = 0
 
uint32_t byte_rate = 0
 
uint16_t block_align = 0
 
uint16_t bits_per_sample = 0
 
uint32_t num_samples = 0
 
std::vector< std::vector< float > > samples
 

Constructor & Destructor Documentation

◆ Data()

Sound::Data::Data ( const std::string &  file_name)

◆ ~Data()

Sound::Data::~Data ( )

Member Data Documentation

◆ audio_format

uint16_t Sound::Data::audio_format = 0

◆ bits_per_sample

uint16_t Sound::Data::bits_per_sample = 0

◆ block_align

uint16_t Sound::Data::block_align = 0

◆ byte_rate

uint32_t Sound::Data::byte_rate = 0

◆ num_channels

uint16_t Sound::Data::num_channels = 0

◆ num_samples

uint32_t Sound::Data::num_samples = 0

◆ sample_rate

uint32_t Sound::Data::sample_rate = 0

◆ samples

std::vector<std::vector<float> > Sound::Data::samples

The documentation for this class was generated from the following files: