Use a message thread to handle MMDevAPI backend methods
commitf7c176e8ca64c33535db54a284aa1aef4c31a6a8
authorChris Robinson <chris.kcat@gmail.com>
Wed, 3 Aug 2011 17:42:29 +0000 (3 10:42 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Wed, 3 Aug 2011 17:42:29 +0000 (3 10:42 -0700)
tree1e991558a70dd465a8ccc0b61b654bdbe2191378
parent3e2bc847d815e8762da753cf60e7e49b61492699
Use a message thread to handle MMDevAPI backend methods

Because MMDevAPI uses COM, CoInitialize must be called on the thread(s) where
the device calls are made. OpenAL has no such requirement, thus no guarantee
that COM will be (or remain) initialized on the calling thread(s).
Alc/mmdevapi.c