mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Fix examples.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user