Commit 1ca6f806 authored by David Reid's avatar David Reid

Fix some tests.

These compilation errors are a result of the recent change to dr_wav to
add support for allocation callbacks.
parent c9a3b080
...@@ -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