Commit 2fb12e0f authored by David Reid's avatar David Reid

Fix sample code in readme.

parent 4794dbae
......@@ -76,8 +76,9 @@ int main(int argc, char** argv)
}
mal_context context;
if (mal_context_init(NULL, 0, &context) != MAL_SUCCESS) {
if (mal_context_init(NULL, 0, NULL, &context) != MAL_SUCCESS) {
printf("Failed to initialize context.");
drwav_uninit(&wav);
return -3;
}
......
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