https://bugs.winehq.org/show_bug.cgi?id=46725
--- Comment #10 from Paul Gofman gofmanp@gmail.com --- Created attachment 66678 --> https://bugs.winehq.org/attachment.cgi?id=66678 Unit test
So I created a brief unit test which hopefully shows what is going wrong.
It looks like at least for an xapo on submix voice the maximum number of frames depends on submix voice parameters. I can get different number of frames by varying InputSampleRate parameter for CreateSubmixVoice(). It looks like the maximum number of frames is 44100 / 100. I am not entirely sure there is no some multiplier somewhere which can also influence that, I am not familiar with this API.
The test shows another bug by the way. Windows allows creating xapo without supporting IXAPOParameters interface (like in my test), Wine xaudio does not.