Audio Improvements #47

Merged
cosmonaut merged 22 commits from audio_thread into main 2023-03-07 23:28:57 +00:00
  • Audio is now processed on a background thread instead of the main thread
  • Audio tick rate is now ~200Hz
  • Audio thread is also woken up after Game.Update to process changes as soon as possible
  • MoonWorks.Math.Easings class completely rewritten to be easier to understand and use
  • SoundInstance properties no longer call into FAudio unless the value actually changed
  • SoundInstance property values can now be interpolated over time (tweens)
  • SoundInstance tweens can be delayed
  • SoundInstance sets a sane filter frequency default when switching filter type
  • StreamingSound classes can be designated to update automatically on the audio thread or manually
  • StreamingSound buffer consumption should now set Stopped state in a more sane way
  • Added ReverbEffect, which creates a submix voice for a reverb effect
  • SoundInstance can apply a ReverbEffect, which enables the Reverb property
  • Audio resource tracking improvements
  • Some tweaks to VideoPlayer to make its behavior more consistent
- Audio is now processed on a background thread instead of the main thread - Audio tick rate is now ~200Hz - Audio thread is also woken up after Game.Update to process changes as soon as possible - MoonWorks.Math.Easings class completely rewritten to be easier to understand and use - SoundInstance properties no longer call into FAudio unless the value actually changed - SoundInstance property values can now be interpolated over time (tweens) - SoundInstance tweens can be delayed - SoundInstance sets a sane filter frequency default when switching filter type - StreamingSound classes can be designated to update automatically on the audio thread or manually - StreamingSound buffer consumption should now set Stopped state in a more sane way - Added ReverbEffect, which creates a submix voice for a reverb effect - SoundInstance can apply a ReverbEffect, which enables the Reverb property - Audio resource tracking improvements - Some tweaks to VideoPlayer to make its behavior more consistent
cosmonaut added 21 commits 2023-03-07 23:16:38 +00:00
cosmonaut added 1 commit 2023-03-07 23:26:01 +00:00
cosmonaut merged commit 1f0e3b5040 into main 2023-03-07 23:28:57 +00:00
cosmonaut deleted branch audio_thread 2023-03-07 23:28:57 +00:00
cosmonaut referenced this issue from a commit 2023-03-07 23:28:57 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: MoonsideGames/MoonWorks#47
There is no content yet.