diff --git a/main.cpp b/main.cpp index 67df121..c79c548 100644 --- a/main.cpp +++ b/main.cpp @@ -83,6 +83,8 @@ int main(int argc, char** argv) { return 1; } + WriteWAVHeader(wav, 0); + DWORD totalBytes = 0; const int bufferSize = 44100 * 2 * sizeof(float); // 1 second float stereo float buffer[44100 * 2];