Searched refs:halDevice (Results 1 – 3 of 3) sorted by relevance
35 uint32_t halDevice = static_cast<uint32_t>(address.device); in deviceAddressToHal() local36 const bool isInput = (halDevice & AUDIO_DEVICE_BIT_IN) != 0; in deviceAddressToHal()37 if (isInput) halDevice &= ~AUDIO_DEVICE_BIT_IN; in deviceAddressToHal()38 if ((!isInput && (halDevice & AUDIO_DEVICE_OUT_ALL_A2DP) != 0) || in deviceAddressToHal()39 (isInput && (halDevice & AUDIO_DEVICE_IN_BLUETOOTH_A2DP) != 0)) { in deviceAddressToHal()43 } else if ((!isInput && (halDevice & AUDIO_DEVICE_OUT_IP) != 0) || in deviceAddressToHal()44 (isInput && (halDevice & AUDIO_DEVICE_IN_IP) != 0)) { in deviceAddressToHal()47 } else if ((!isInput && (halDevice & AUDIO_DEVICE_OUT_ALL_USB) != 0) || in deviceAddressToHal()48 (isInput && (halDevice & AUDIO_DEVICE_IN_ALL_USB) != 0)) { in deviceAddressToHal()51 } else if ((!isInput && (halDevice & AUDIO_DEVICE_OUT_BUS) != 0) || in deviceAddressToHal()[all …]
65 audio_hw_device_t* halDevice; in openDevice() local68 int halStatus = loadAudioInterface(moduleName, &halDevice); in openDevice()70 result = new DeviceShim(halDevice); in openDevice()
507 uint32_t halDevice = static_cast<uint32_t>(device); in setDevice() local508 return sendCommand(EFFECT_CMD_SET_DEVICE, "SET_DEVICE", sizeof(uint32_t), &halDevice); in setDevice()546 uint32_t halDevice = static_cast<uint32_t>(device); in setInputDevice() local548 &halDevice); in setInputDevice()