Lines Matching refs:halDevice
111 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()
128 (isInput && (halDevice & AUDIO_DEVICE_IN_BUS) != 0)) { in deviceAddressToHal()
130 } else if ((!isInput && (halDevice & AUDIO_DEVICE_OUT_REMOTE_SUBMIX)) != 0 || in deviceAddressToHal()
131 (isInput && (halDevice & AUDIO_DEVICE_IN_REMOTE_SUBMIX) != 0)) { in deviceAddressToHal()