Initialize COM using the multithreaded apartment
commit414b56edec5441211dc924fef365c54267c04f1c
authorChris Robinson <chris.kcat@gmail.com>
Sun, 1 Apr 2018 23:39:20 +0000 (1 16:39 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sun, 1 Apr 2018 23:39:20 +0000 (1 16:39 -0700)
treefaf308d05cd1dfc2b84c2a5b1820a702b92272ba
parent334bc4f551af15281a9109200f5ffb34f22c67c1
Initialize COM using the multithreaded apartment

I honestly have no idea which is the correct (or better) mode to use given the
confusing mess COM is, but CoInitialize uses single-threaded apartments which
seems to be a problem for with at least a couple games in the STALKER series
(the call fails, which causes us to drop back to the DSound backend).
Alc/backends/wasapi.c