Searched refs:audioMgrType (Results 1 – 2 of 2) sorted by relevance
35 int32_t AudioDeviceManagerFactory::DestoryDeviceManager(const AudioDeviceManagerType audioMgrType) in DestoryDeviceManager() argument38 if (allHdiDevMgr_.find(audioMgrType) == allHdiDevMgr_.end()) { in DestoryDeviceManager()43 int32_t ret = allHdiDevMgr_[audioMgrType]->Release(); in DestoryDeviceManager()46 allHdiDevMgr_.erase(audioMgrType); in DestoryDeviceManager()51 const AudioDeviceManagerType audioMgrType) in CreatDeviceManager() argument54 if (allHdiDevMgr_.find(audioMgrType) != allHdiDevMgr_.end()) { in CreatDeviceManager()55 return allHdiDevMgr_[audioMgrType]; in CreatDeviceManager()58 switch (audioMgrType) { in CreatDeviceManager()74 "Get audio manager of audioMgrType %{public}d fail.", audioMgrType); in CreatDeviceManager()75 allHdiDevMgr_[audioMgrType] = audioDevMgr; in CreatDeviceManager()[all …]
45 …std::shared_ptr<IAudioDeviceManager> CreatDeviceManager(const AudioDeviceManagerType audioMgrType);46 int32_t DestoryDeviceManager(const AudioDeviceManagerType audioMgrType);