| 6107 | }; |
| 6108 | |
| 6109 | RtApiDs ::RtApiDs() |
| 6110 | { |
| 6111 | // Dsound will run both-threaded. If CoInitialize fails, then just |
| 6112 | // accept whatever the mainline chose for a threading model. |
| 6113 | coInitialized_ = false; |
| 6114 | //HRESULT hr = CoInitialize( NULL ); modified by LabSound per issue 121 |
| 6115 | HRESULT hr = CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); |
| 6116 | if (!FAILED(hr)) coInitialized_ = true; |
| 6117 | } |
| 6118 | |
| 6119 | RtApiDs ::~RtApiDs() |
| 6120 | { |
nothing calls this directly
no outgoing calls
no test coverage detected