1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added missing CoInitialize when using ASIO audio device

This commit is contained in:
hogliux 2016-11-11 15:05:28 +00:00
parent 8499e29241
commit c2caad42b5

View file

@ -341,6 +341,8 @@ public:
insideControlPanelModalLoop (false),
shouldUsePreferredSize (false)
{
::CoInitialize (nullptr);
name = devName;
inBuffers.calloc (4);
outBuffers.calloc (4);