Skip to content

Commit

Permalink
Slight cleanup to SPU (#1900)
Browse files Browse the repository at this point in the history
* Move `SPUChannel` and `SPUCaptureUnit` to be stored inside `array`s instead of allocated separately

* Default-initialize most of `SPU`'s fields

* Generate the interpolation tables at compile-time with `constexpr`

- Now it's faster and thread-safe

* Slight cleanup in SPU

- Iniitialize most fields in the class declaration

* Mark `SPU` as `explicit`
  • Loading branch information
JesseTG authored Dec 4, 2023
1 parent 7caddf9 commit da8d413
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 185 deletions.
Loading

0 comments on commit da8d413

Please sign in to comment.