Cytopia  0.3
A city building simulation game
DecodedAudioData Struct Reference

Container for raw pcm data that read from .ogg sound file. More...

#include <Soundtrack.hxx>

+ Collaboration diagram for DecodedAudioData:

Public Attributes

std::vector< char > char_data_vec
 pcm audio data More...
 
long nBytes
 number of bytes in decoded audio data More...
 
int data_sample_rate
 

Detailed Description

Container for raw pcm data that read from .ogg sound file.

raw pcm data is held in a vector of type char.

Parameters
nByteslength of sample in bytes
data_sample_ratesample rate of audio sample assuming it is just 1 sample rate

Definition at line 25 of file Soundtrack.hxx.

Member Data Documentation

◆ char_data_vec

std::vector<char> DecodedAudioData::char_data_vec

pcm audio data

Definition at line 27 of file Soundtrack.hxx.

◆ data_sample_rate

int DecodedAudioData::data_sample_rate

Definition at line 29 of file Soundtrack.hxx.

◆ nBytes

long DecodedAudioData::nBytes

number of bytes in decoded audio data

Definition at line 28 of file Soundtrack.hxx.


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