Some applications run out of sources when using xaudio2 so I'm working on a patch that allows more than the 256 sources provided by OpenAL.
I've tried a few different methods, and the current should be the easiest and most compatible. Still, I'm not perfectly familiar with the implementation of xaudio2, and I ran into lots of hard to resolve issues, so I figured I'd ask for feedback before submitting the patch. Any feedback or mistakes regarding my implementation?
On Thu, Aug 11, 2016 at 09:42:04PM +0200, Fabian Maurer wrote:
Some applications run out of sources when using xaudio2 so I'm working on a patch that allows more than the 256 sources provided by OpenAL.
We already require recent versions of openal-soft, and openal-soft can be configured to allow more than 256 sources.
See comments 26 and 27 on bug 39591:
https://bugs.winehq.org/show_bug.cgi?id=39591#26
(Aside: alsoft-config should allow more than 256 voices, but currently doesn't, so you have to edit the config file manuall. This is already fixed in openal-soft git: https://github.com/kcat/openal-soft/pull/41 )
Is this an acceptable solution to your problem? Perhaps I should document it on the wiki.
Andrew