Update comments.

This commit is contained in:
David Reid 2017-11-12 22:56:53 +10:00
parent ac4c911ad7
commit e52f4282d6
2 changed files with 4 additions and 2 deletions

View File

@ -396,7 +396,7 @@ static mal_uint32 OnSendAudioDataToDevice(mal_device* pDevice, mal_uint32 frameC
}
}
// AudioStreams. These are handling slightly differently to sounds because we do data conversion at mixing time rather than
// AudioStreams. These are handled slightly differently to sounds because we do data conversion at mixing time rather than
// load time.
for (AudioStreamData* internalData = firstAudioStream; internalData != NULL; internalData = internalData->next)
{

View File

@ -1,2 +1,4 @@
// The implementation of mini_al needs to #include windows.h which means it needs to go into
// it's own translation unit. Not doing this will cause conflicts with CloseWindow(), etc.
#define MAL_IMPLEMENTATION
#include "mini_al.h" // <-- The implementation of mini_al.h #includes windows.h, so need to #undef some stuff.
#include "mini_al.h"