1. 23 Aug, 2025 10 commits
  2. 22 Aug, 2025 2 commits
  3. 21 Aug, 2025 4 commits
  4. 20 Aug, 2025 7 commits
  5. 19 Aug, 2025 2 commits
  6. 07 Aug, 2025 7 commits
    • David Reid's avatar
      78cdb9c1
    • David Reid's avatar
      Fix some errors with the DJGPP build. · 1ea69211
      David Reid authored
      This forces `MA_NO_THREADING` and `MA_NO_RUNTIME_LINKING`.
      
      The DOS/DJGPP build currently requires `MA_NO_DEVICE_IO`.
      1ea69211
    • David Reid's avatar
    • David Reid's avatar
      d9355228
    • David Reid's avatar
      Fix NXDK build for Xbox. · 61a85dca
      David Reid authored
      This disables the WASAPI, DirectSound and WinMM backends which means
      you will not get any actual audio output working. An Xbox backend will
      need to come later. The main purpose of this commit is to get the main
      library compiling.
      
      The main complication arises from the fact that both _WIN32 and
      _MSC_VER are defined which makes miniaudio think it's using a normal
      desktop Windows build. In practice it mostly works, but there's a few
      things needing to be changed specifically for NXDK:
      
        - `fopen_s()` is not a thing with NXDK. It always uses `fopen()`.
        - There is no `_wfopen()`, nor `wcsrtombs()`, so attempting to open
          a file from a wide character string will fail.
        - There is also no `CreateFileW()`, so this code path will also
          result in an error if you attempt to open a file from a wide
          character path.
        - `CoInitialize()` is not a thing with NXDK and has therefore been
          excluded from the build.
        - `GetFileInformationByHandle()` does not exist, and neither does
          `struct stat` or `stat()`. Since the only file information miniaudio
          attempts to retrieve is the file size, I've implemented a fall back
          which uses the seek/tell/seek pattern when info retrieval is
          unavailable.
        - A fall back has been implemented for comparing wide character path
          extensions which performs a case-sensitive compare instead. This
          means that if you are using wide character paths, miniaudio will not
          detect an extension like "wav" and "WAV" as the same thing. This
          might be made more robust later if there is enough demand.
      
      Public issue https://github.com/mackron/miniaudio/issues/1023
      61a85dca
    • David Reid's avatar
      Win32: Use `CreateSemaphore()` instead of `CreateSemaphoreW()` · c87f207f
      David Reid authored
      This should improve compiler compatibility for those that do not
      define `CreateSemaphoreW()`, such as NXDK.
      c87f207f
    • David Reid's avatar
      Update dr_libs. · 02ae7e41
      David Reid authored
      02ae7e41
  7. 23 Jul, 2025 3 commits
  8. 22 Jul, 2025 1 commit
  9. 21 Jul, 2025 4 commits