Searched refs:ScopedCOMInitializer (Results 1 – 12 of 12) sorted by relevance
50 class ScopedCOMInitializer {56 ScopedCOMInitializer() { Initialize(COINIT_APARTMENTTHREADED); } in ScopedCOMInitializer() function59 explicit ScopedCOMInitializer(SelectMTA mta) { in ScopedCOMInitializer() function63 ~ScopedCOMInitializer() { in ~ScopedCOMInitializer()75 ScopedCOMInitializer(const ScopedCOMInitializer&);76 void operator=(const ScopedCOMInitializer&);238 ScopedCOMInitializer _comInit;
129 class ScopedCOMInitializer {139 ScopedCOMInitializer() { in ScopedCOMInitializer() function145 explicit ScopedCOMInitializer(SelectMTA mta) { in ScopedCOMInitializer() function150 ~ScopedCOMInitializer() { in ~ScopedCOMInitializer()156 ScopedCOMInitializer(const ScopedCOMInitializer&) = delete;157 ScopedCOMInitializer& operator=(const ScopedCOMInitializer&) = delete;
228 ScopedCOMInitializer comInit(ScopedCOMInitializer::kMTA); in CoreAudioIsSupported()348 _comInit(ScopedCOMInitializer::kMTA), in AudioDeviceWindowsCore()2643 ScopedCOMInitializer comInit(ScopedCOMInitializer::kMTA); in DoRenderThread()2950 ScopedCOMInitializer comInit(ScopedCOMInitializer::kMTA); in DoCaptureThreadPollDMO()3082 ScopedCOMInitializer comInit(ScopedCOMInitializer::kMTA); in DoCaptureThread()
887 ScopedCOMInitializer com_initializer(ScopedCOMInitializer::kMTA); in ThreadRun()
60 : com_init_(webrtc_win::ScopedCOMInitializer::kMTA) { in CoreAudioUtilityWinTest()81 ScopedCOMInitializer com_init_;
317 std::unique_ptr<win::ScopedCOMInitializer> com_initializer; in ThreadMain()320 new win::ScopedCOMInitializer() : in ThreadMain()321 new win::ScopedCOMInitializer(win::ScopedCOMInitializer::kMTA)); in ThreadMain()
304 std::unique_ptr<win::ScopedCOMInitializer> com_initializer; in RunWorker()306 com_initializer = std::make_unique<win::ScopedCOMInitializer>(); in RunWorker()
191 scoped_com_initializer_ = std::make_unique<win::ScopedCOMInitializer>(); in OnMainEntry()266 std::unique_ptr<win::ScopedCOMInitializer> scoped_com_initializer_;
401 win_thread_environment_ = std::make_unique<win::ScopedCOMInitializer>( in OnMainEntry()402 win::ScopedCOMInitializer::kMTA); in OnMainEntry()
600 com_initializer_ = std::make_unique<webrtc_win::ScopedCOMInitializer>( in CreateAudioDevice()601 webrtc_win::ScopedCOMInitializer::kMTA); in CreateAudioDevice()660 std::unique_ptr<webrtc_win::ScopedCOMInitializer> com_initializer_;695 webrtc_win::ScopedCOMInitializer com_initializer( in TEST()696 webrtc_win::ScopedCOMInitializer::kMTA); in TEST()
140 std::unique_ptr<webrtc_win::ScopedCOMInitializer> com_initializer_;
1344 com_initializer_ = std::make_unique<webrtc_win::ScopedCOMInitializer>( in CreateAudioDevice()1345 webrtc_win::ScopedCOMInitializer::kMTA); in CreateAudioDevice()