Lines Matching defs:device2
2428 uint32_t device2 = AUDIO_DEVICE_NONE;
2431 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_REMOTE_SUBMIX;
2433 if ((device2 == AUDIO_DEVICE_NONE) &&
2436 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_BLUETOOTH_A2DP;
2437 if (device2 == AUDIO_DEVICE_NONE) {
2438 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES;
2440 if (device2 == AUDIO_DEVICE_NONE) {
2441 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER;
2444 if (device2 == AUDIO_DEVICE_NONE) {
2445 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_WIRED_HEADPHONE;
2447 if (device2 == AUDIO_DEVICE_NONE) {
2448 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_WIRED_HEADSET;
2450 if (device2 == AUDIO_DEVICE_NONE) {
2451 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_USB_ACCESSORY;
2453 if (device2 == AUDIO_DEVICE_NONE) {
2454 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_USB_DEVICE;
2456 if (device2 == AUDIO_DEVICE_NONE) {
2457 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET;
2459 if ((device2 == AUDIO_DEVICE_NONE) && (strategy != STRATEGY_SONIFICATION)) {
2461 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_AUX_DIGITAL;
2463 if ((device2 == AUDIO_DEVICE_NONE) &&
2465 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET;
2467 if (device2 == AUDIO_DEVICE_NONE) {
2468 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_SPEAKER;
2473 device |= device2;