Commit Graph

14 Commits

Author SHA1 Message Date
andy840119 6c964dee30 Rename the nullable disable annotation in the Audio namespace and mark some properties as nullable. 2022-07-31 22:00:14 +08:00
Dan Balasescu f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
Dean Herbert 6944151486 Apply batch fixing of built-in types using `var` 2021-10-27 13:04:41 +09:00
Dean Herbert 29dfe33465 Rewrite `AudioFilter` to be easier to follow (and fix tests) 2021-10-13 15:17:20 +09:00
Dean Herbert b37096f440 Avoid using bindable for `AudioFilter` cutoff
It doesn't play nicely with screen exiting, as it is automatically
unbound during the exit process. Easiest to just avoid using this for
now.
2021-10-13 13:25:55 +09:00
Dean Herbert e578046b20 Rename `Filter` -> `AudioFilter` 2021-10-07 18:50:08 +09:00
Dean Herbert 0348c6c7e5 Apply some renaming and code quality fixes 2021-10-07 18:49:22 +09:00
Jamie Taylor 99fb86878e
Only detach filter on disposal if attached 2021-10-06 18:31:56 +09:00
Jamie Taylor bd0c986144
Add asserts to ensure correct state when attaching/detaching the filter 2021-10-06 17:34:24 +09:00
Jamie Taylor df182ba92b
Set fQ to recommended value from BASS developer to prevent filter calculations from overflowing when approaching nyquist 2021-10-06 11:29:03 +09:00
Jamie Taylor 2a4a376b87
Refactor Filter to behave closer to a Transformable 2021-10-02 01:32:47 +09:00
Jamie Taylor 968826c9e7
Fix typo 2021-09-30 15:17:39 +09:00
Jamie Taylor 2608d193a9
Refactor `Filter` component to be more re-usable 2021-09-29 20:30:01 +09:00
Jamie Taylor 94e2dbd7e7
Add a low-pass filter effect to music when certain popup dialogs are shown 2021-09-29 20:30:00 +09:00