1. 01 Jul, 2021 1 commit
  2. 27 Jun, 2021 1 commit
    • Kelebek1's avatar
      Decouple audio processing and run at variable rate · 0857d6a3
      Kelebek1 authored
      Currently, processing of audio samples is called from AudioRenderer's Update method, using a fixed 4 buffers to process the given samples. Games call Update at variable rates, depending on framerate and/or sample count, which causes inconsistency in audio processing. From what I've seen, 60 FPS games update every ~0.004s, but 30 FPS/160 sample games update somewhere between 0.02 and 0.04, 5-10x slower. Not enough samples get fed to the backend, leading to a lot of audio skipping.
      
      This PR seeks to address this by de-coupling the audio consumption and the audio update. Update remains the same without calling for buffer queuing, and the consume now schedules itself to run based on the sample rate and count.
      0857d6a3
  3. 26 Jun, 2021 2 commits
  4. 25 Jun, 2021 8 commits
  5. 24 Jun, 2021 7 commits
  6. 23 Jun, 2021 15 commits
  7. 22 Jun, 2021 6 commits