Преглед на файлове

Update comments.

pull/413/head
David Reid преди 7 години
родител
ревизия
e52f4282d6
променени са 2 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. +1
    -1
      src/audio.c
  2. +3
    -1
      src/external/mini_al.c

+ 1
- 1
src/audio.c Целия файл

@ -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 Целия файл

@ -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"

Зареждане…
Отказ
Запис