VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
tklb::wave::WaveOptions Struct Reference

Small option struct to save wave files. More...

#include <TWaveFile.hpp>

Collaboration diagram for tklb::wave::WaveOptions:

Public Types

enum  Container { riff = drwav_container_riff , w64 = drwav_container_w64 , rf64 = drwav_container_rf64 }
 
enum  Format { PCM = DR_WAVE_FORMAT_PCM , IEEE_FLOAT = DR_WAVE_FORMAT_IEEE_FLOAT }
 

Public Attributes

int bitsPerSample = 32
 
Container container = Container::riff
 
Format format = Format::IEEE_FLOAT
 

Detailed Description

Small option struct to save wave files.

Definition at line 89 of file TWaveFile.hpp.

Member Enumeration Documentation

◆ Container

Enumerator
riff 
w64 
rf64 

Definition at line 91 of file TWaveFile.hpp.

91 {
92 riff = drwav_container_riff,
93 w64 = drwav_container_w64,
94 rf64 = drwav_container_rf64
95 };

◆ Format

Enumerator
PCM 
IEEE_FLOAT 

Definition at line 98 of file TWaveFile.hpp.

98 {
99 PCM = DR_WAVE_FORMAT_PCM,
100 // ADPCM = DR_WAVE_FORMAT_ADPCM,
101 IEEE_FLOAT = DR_WAVE_FORMAT_IEEE_FLOAT,
102 // ALAW = DR_WAVE_FORMAT_ALAW,
103 // MULAW = DR_WAVE_FORMAT_MULAW,
104 // DVI_ADPCM = DR_WAVE_FORMAT_DVI_ADPCM,
105 // EXTENSIBLE = DR_WAVE_FORMAT_EXTENSIBLE
106 };

Member Data Documentation

◆ bitsPerSample

int tklb::wave::WaveOptions::bitsPerSample = 32

Definition at line 90 of file TWaveFile.hpp.

◆ container

Container tklb::wave::WaveOptions::container = Container::riff

Definition at line 96 of file TWaveFile.hpp.

◆ format

Format tklb::wave::WaveOptions::format = Format::IEEE_FLOAT

Definition at line 107 of file TWaveFile.hpp.


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