This project is mirrored from https://github.com/libretro/libretro-lutro.git. Pull mirroring updated .
  1. 21 Jul, 2021 1 commit
  2. 20 Jul, 2021 2 commits
  3. 06 Jul, 2021 1 commit
  4. 25 Jun, 2021 1 commit
  5. 23 Jun, 2021 1 commit
  6. 18 Jun, 2021 1 commit
  7. 05 May, 2021 5 commits
  8. 04 May, 2021 1 commit
  9. 02 May, 2021 3 commits
  10. 01 May, 2021 2 commits
  11. 24 Apr, 2021 2 commits
  12. 21 Apr, 2021 1 commit
  13. 20 Apr, 2021 3 commits
  14. 19 Apr, 2021 3 commits
    • Jake Stine's avatar
      tests/audio added: runs a series of state-machine based audio tests. (#195) · bd908e0f
      Jake Stine authored
      I didn't use the unit test framework for two reasons - one, I can't get it to work due to some lua include/require dir problems (could be windows-specific issue), and two, most of the "unit test framework" of luaunit is not useful for the purpose of testing the problems that usually need testing in multimedia applications.
      
      I set this up as a SUCCESS/FAILURE thing at the moment for example, but often these things are better built as a fuzzy "just report # of voices and dump voice info" procedure, which is checked against log output that is verified as what we expect. And then, if a new log != expected log output, generate some error report for devs to look at. (and, by chance, many such "failures" are harmless or intentional, and verify new log as expected results and move on, etc).
      bd908e0f
    • Jake Stine's avatar
      audio: remove native pointer dependency on Source (#193) · 29ae5cbf
      Jake Stine authored
      * Added new build types: Debug, Tool, and Player.
      
       Debug is -O0 compiled with all assertions enabled.
       Tool is -O1 compiled with debug assertions disabled entirely.
       Player is -O3 compiled with tool assertions disabled, and all ignorable assertions demoted to log-only.
      
      Implementation of ignorable asserts is still partial, but as it stands this change is OK to go live (can add features later). On the todo list:
        - add popup to allow content creator to ignore the assert
        - add lua stacktrace information when lua context seems relevant
      
      * GHActions updated to be aware of new player and tool build configs
      
      * makefile: allow changing config from CLI without having to make clean
      
      Also force rebuild of vcxproj target since dep checking is currently insufficient. it should be checking dirs of all globbed source file includes for modifications, but it's not. and this is a really fast step, no point in not running it for now
      
      * Added lutro_errorf and lutro_alertf for logging errors and popup alerts, respectively.
      
       - Cleans up macros and keeps assertions clearly in the domain of Debug and Tooling builds.
       - removed play_assert and friends, which were both confusing terminology and not practical in design
      
      * audio: remove native pointer dependency on Source
      
      We can't store pointers to lua userdata in C. Lua may move the pointers at any time. So instead we must dereference the lua_ref to obtain the pointer at the point it is used, for example while mixing.
      
      Fixes a problem where the engine can crash after some amount of time, depending wildly on game behaviors and memory usage. In many cases no crash may ever occur. I have a test locally (still WIP) that verifies this problem/fix.
      29ae5cbf
    • Jake Stine's avatar
      audio: fix decoding of non-canonical wavefile headers. (#192) · 5217885f
      Jake Stine authored
      * Added new build types: Debug, Tool, and Player.
      
       Debug is -O0 compiled with all assertions enabled.
       Tool is -O1 compiled with debug assertions disabled entirely.
       Player is -O3 compiled with tool assertions disabled, and all ignorable assertions demoted to log-only.
      
      Implementation of ignorable asserts is still partial, but as it stands this change is OK to go live (can add features later). On the todo list:
        - add popup to allow content creator to ignore the assert
        - add lua stacktrace information when lua context seems relevant
      
      * GHActions updated to be aware of new player and tool build configs
      
      * makefile: allow changing config from CLI without having to make clean
      
      Also force rebuild of vcxproj target since dep checking is currently insufficient. it should be checking dirs of all globbed source file includes for modifications, but it's not. and this is a really fast step, no point in not running it for now
      
      * Added lutro_errorf and lutro_alertf for logging errors and popup alerts, respectively.
      
       - Cleans up macros and keeps assertions clearly in the domain of Debug and Tooling builds.
       - removed play_assert and friends, which were both confusing terminology and not practical in design
      
      * WAV: fix decoding of non-canonical wave headers.
      
      In short, we can't assume anything about these pesky subchunks.
      
      * printf formatting fixed
      5217885f
  15. 12 Apr, 2021 1 commit
    • Jake Stine's avatar
      Add new build types: Debug, Tool, and Player (#188) · a5ab4d4d
      Jake Stine authored
      * Added new build types: Debug, Tool, and Player.
      
       Debug is -O0 compiled with all assertions enabled.
       Tool is -O1 compiled with debug assertions disabled entirely.
       Player is -O3 compiled with tool assertions disabled, and all ignorable assertions demoted to log-only.
      
      Implementation of ignorable asserts is still partial, but as it stands this change is OK to go live (can add features later). On the todo list:
        - add popup to allow content creator to ignore the assert
        - add lua stacktrace information when lua context seems relevant
      
      * GHActions updated to be aware of new player and tool build configs
      
      * makefile: allow changing config from CLI without having to make clean
      
      Also force rebuild of vcxproj target since dep checking is currently insufficient. it should be checking dirs of all globbed source file includes for modifications, but it's not. and this is a really fast step, no point in not running it for now
      
      * Added lutro_errorf and lutro_alertf for logging errors and popup alerts, respectively.
      
       - Cleans up macros and keeps assertions clearly in the domain of Debug and Tooling builds.
       - removed play_assert and friends, which were both confusing terminology and not practical in design
      a5ab4d4d
  16. 11 Apr, 2021 1 commit
  17. 10 Apr, 2021 2 commits
  18. 04 Apr, 2021 1 commit
  19. 30 Mar, 2021 1 commit
  20. 28 Mar, 2021 7 commits