https://bugs.winehq.org/show_bug.cgi?id=46918
--- Comment #12 from Paul Gofman gofmanp@gmail.com --- (In reply to Ethan Lee from comment #11)
Played around with the official XAPO example projects and discovered some interesting rules from some debug assertion failures. I also discovered that SetOutputVoices was a complete mess and was doing things in just about the worst order possible. I've made a new commit to address all of these things:
https://github.com/FNA-XNA/FAudio/commit/ f6df13f507261268debef92846f68b107929e7bb
So now it should have a valid MaxFrameCount when applying an effect chain on a voice with no sends.
Will all go right if the application calls SetEffectChain on source or submix voice before setting output voice? And if Windows indeed calls LockForProcess later (not sure if it is the case) should not FAudio do the same?