diff options
author | Jesse Talavera <jesse@jesse.tg> | 2023-12-04 11:56:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 17:56:01 +0100 |
commit | da8d413ad9e339c40178be18da20aee1435c8cd4 (patch) | |
tree | 9e5bbb3a1a0dd5a7a5561029b5471ea42640bba7 /src/Platform.h | |
parent | 7caddf9615875e54b725bd7df266361c46d47b6f (diff) |
Slight cleanup to SPU (#1900)
* 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`
Diffstat (limited to 'src/Platform.h')
0 files changed, 0 insertions, 0 deletions