Fix examples.

This commit is contained in:
David Reid
2017-10-28 12:56:01 +10:00
parent 72d96e80c5
commit 8d5c715ec2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ mal_uint32 on_send_frames(mal_device* pDevice, mal_uint32 frameCount, void* pSam
int main()
{
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.");
return -1;
}