Commit d7cefd29 authored by David Reid's avatar David Reid

Merge branch 'master' into dev

parents 98792cae 1ca6f806
...@@ -38,7 +38,7 @@ int main(int argc, char** argv) ...@@ -38,7 +38,7 @@ int main(int argc, char** argv)
wavFormat.sampleRate = 44100; wavFormat.sampleRate = 44100;
wavFormat.bitsPerSample = 32; wavFormat.bitsPerSample = 32;
if (drwav_init_file_write(&wav, argv[1], &wavFormat) == DRWAV_FALSE) { if (drwav_init_file_write(&wav, argv[1], &wavFormat, NULL) == DRWAV_FALSE) {
printf("Failed to initialize output file.\n"); printf("Failed to initialize output file.\n");
return -1; return -1;
} }
......
...@@ -49,7 +49,7 @@ int main(int argc, char** argv) ...@@ -49,7 +49,7 @@ int main(int argc, char** argv)
wavFormat.sampleRate = 44100; wavFormat.sampleRate = 44100;
wavFormat.bitsPerSample = 32; wavFormat.bitsPerSample = 32;
if (drwav_init_file_write(&wav, argv[1], &wavFormat) == DRWAV_FALSE) { if (drwav_init_file_write(&wav, argv[1], &wavFormat, NULL) == DRWAV_FALSE) {
printf("Failed to initialize output file.\n"); printf("Failed to initialize output file.\n");
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment