aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMatthew Gregan <[email protected]>2018-03-14 09:56:22 +1300
committerMatthew Gregan <[email protected]>2018-03-21 09:29:30 +1300
commit13d9e2874cb13ece4d14efcf34b086770f0bd624 (patch)
tree7b1ef1e7b95602d9136627fd70c0d2a80741e499 /include
parent200bcbd920642d1f890bd4346c5f58f769ff4f06 (diff)
downloadcubeb-13d9e2874cb13ece4d14efcf34b086770f0bd624.tar.gz
cubeb-13d9e2874cb13ece4d14efcf34b086770f0bd624.zip
wasapi: Remove COM initialization and require caller to complete.
This addresses the thread local COM initialization lifetime problem discussed in issue #416 by moving the responsibility for COM initialization from within cubeb to the caller.
Diffstat (limited to 'include')
-rw-r--r--include/cubeb/cubeb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cubeb/cubeb.h b/include/cubeb/cubeb.h
index d521d54..afca255 100644
--- a/include/cubeb/cubeb.h
+++ b/include/cubeb/cubeb.h
@@ -408,6 +408,10 @@ typedef void (* cubeb_log_callback)(char const * fmt, ...);
/** Initialize an application context. This will perform any library or
application scoped initialization.
+
+ Note: On Windows platforms, COM must be initialized in MTA mode on
+ any thread that will call the cubeb API.
+
@param context A out param where an opaque pointer to the application
context will be returned.
@param context_name A name for the context. Depending on the platform this