mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Fix some tests.
These compilation errors are a result of the recent change to dr_wav to add support for allocation callbacks.
This commit is contained in:
@@ -38,7 +38,7 @@ int main(int argc, char** argv)
|
||||
wavFormat.sampleRate = 44100;
|
||||
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");
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ int main(int argc, char** argv)
|
||||
wavFormat.sampleRate = 44100;
|
||||
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");
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user