FNA-XNA / FAudio

FAudio - Accuracy-focused XAudio reimplementation for open platforms
https://fna-xna.github.io/
Other
555 stars 76 forks source link

Implement SetOuputFilterParameters #43

Closed flibitijibibo closed 6 years ago

flibitijibibo commented 6 years ago

This one's easier than it sounds - we already have filters implemented, we just need to add filter states for each send that's currently attached to the voice.

Here are the relevant blocks:

And here's where our send data is right now. It'll mostly likely be an FAudioFilterParameters* and FAudioFilterState** allocated at SetOutputVoices (along with all the other per-send data) and will function pretty much exactly like the voice filter, which is a single function call.

flibitijibibo commented 6 years ago

This is now implemented: https://github.com/FNA-XNA/FAudio/commit/9ef6b9c0e358d4463e976e20798050f530335020