Browse Source

Update comments.

pull/413/head
David Reid 7 years ago
parent
commit
e52f4282d6
2 changed files with 4 additions and 2 deletions
  1. +1
    -1
      src/audio.c
  2. +3
    -1
      src/external/mini_al.c

+ 1
- 1
src/audio.c 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)
{

+ 3
- 1
src/external/mini_al.c 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"

Loading…
Cancel
Save