Simplify async notifications.

This commit is contained in:
David Reid
2021-06-26 09:58:29 +10:00
parent ea84294d97
commit b4d6c37d13
2 changed files with 27 additions and 36 deletions
+1 -2
View File
@@ -13,13 +13,12 @@ typedef struct
ma_sound* pSound;
} sound_loaded_notification;
void on_sound_loaded(ma_async_notification* pNotification, int code)
void on_sound_loaded(ma_async_notification* pNotification)
{
//sound_loaded_notification* pLoadedNotification = (sound_loaded_notification*)pNotification;
//ma_uint64 lengthInPCMFrames;
(void)pNotification;
(void)code;
/*
This will be fired when the sound has finished loading. We should be able to retrieve the length of the sound at this point. Here we'll just set