Searched refs:pManager (Results 1 – 2 of 2) sorted by relevance
268 EventManager* pManager = new EventManager(); in CreateThreadContext() local271 if (pManager && pHandler) in CreateThreadContext()273 pManager->Attach(pHandler); in CreateThreadContext()285 return pManager; in CreateThreadContext()294 EventManager* pManager = FromHandle(hThreadContext); in DestroyThreadContext() local295 SWR_ASSERT(pManager != nullptr); in DestroyThreadContext()297 delete pManager; in DestroyThreadContext()303 EventManager* pManager = FromHandle(hThreadContext); in Dispatch() local304 SWR_ASSERT(pManager != nullptr); in Dispatch()306 pManager->Dispatch(event); in Dispatch()[all …]
799 IAudioSessionManager* pManager = NULL; in InitSpeaker() local803 (void**)&pManager); in InitSpeaker()804 if (ret != 0 || pManager == NULL) in InitSpeaker()808 SAFE_RELEASE(pManager); in InitSpeaker()813 ret = pManager->GetSimpleAudioVolume(NULL, FALSE, &_ptrRenderSimpleVolume); in InitSpeaker()818 SAFE_RELEASE(pManager); in InitSpeaker()822 SAFE_RELEASE(pManager); in InitSpeaker()933 IAudioSessionManager* pManager = NULL; in SpeakerVolumeIsAvailable() local936 … hr = _ptrDeviceOut->Activate(__uuidof(IAudioSessionManager), CLSCTX_ALL, NULL, (void**)&pManager); in SpeakerVolumeIsAvailable()939 hr = pManager->GetSimpleAudioVolume(NULL, FALSE, &pVolume); in SpeakerVolumeIsAvailable()[all …]