Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 503 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 503 Bytes

WAV

c++ WAV class

NOTE

float type wav format is not implemented!!

Output

WAV output(channels,samplerate);
output.NewFile("output.wav");

while(IsProcessing){
   ...
   output.Append(short_type_buffer,shift_size*channels);
}

output.Finish()

Input

WAV input;
input.OpenFile("input.wav");

while(!input.IsEOF()){
   input.ReadUnit(short_type_buffer,shift_size*channels);
   ...
}

input.Finish();