Fix synthesis speaker id bug

This commit is contained in:
Michael Hansen
2023-01-10 14:01:47 -06:00
parent dfa03d80e6
commit a34b2d4f3b
3 changed files with 7 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ struct WavHeader {
// Write WAV file header only
void writeWavHeader(int sampleRate, int sampleWidth, int channels,
uint32_t numSamples, ostream &audioFile) {
uint32_t numSamples, std::ostream &audioFile) {
WavHeader header;
header.chunkSize = numSamples + sizeof(WavHeader) - 8;
header.sampleRate = sampleRate;