Home
last modified time | relevance | path

Searched refs:halDevice (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libaudiohal/impl/
DConversionHelperHidl.cpp111 audio_devices_t halDevice = static_cast<audio_devices_t>(address.device); in deviceAddressToHal() local
112 const bool isInput = (halDevice & AUDIO_DEVICE_BIT_IN) != 0; in deviceAddressToHal()
113 if (isInput) halDevice &= ~AUDIO_DEVICE_BIT_IN; in deviceAddressToHal()
114 if ((!isInput && (halDevice & AUDIO_DEVICE_OUT_ALL_A2DP) != 0) || in deviceAddressToHal()
115 (isInput && (halDevice & AUDIO_DEVICE_IN_BLUETOOTH_A2DP) != 0)) { in deviceAddressToHal()
119 } else if ((!isInput && (halDevice & AUDIO_DEVICE_OUT_IP) != 0) || in deviceAddressToHal()
120 (isInput && (halDevice & AUDIO_DEVICE_IN_IP) != 0)) { in deviceAddressToHal()
123 } else if ((!isInput && (halDevice & AUDIO_DEVICE_OUT_ALL_USB) != 0) || in deviceAddressToHal()
124 (isInput && (halDevice & AUDIO_DEVICE_IN_ALL_USB) != 0)) { in deviceAddressToHal()
127 } else if ((!isInput && (halDevice & AUDIO_DEVICE_OUT_BUS) != 0) || in deviceAddressToHal()
[all …]