Home | History | Annotate | Download | only in src

Lines Matching defs:device2

455         uint32_t device2 = AUDIO_DEVICE_NONE;
460 device2 = availableOutputDevices.types() & AUDIO_DEVICE_OUT_REMOTE_SUBMIX;
468 if ((device2 == AUDIO_DEVICE_NONE) &&
471 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_BLUETOOTH_A2DP;
472 if (device2 == AUDIO_DEVICE_NONE) {
473 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES;
475 if (device2 == AUDIO_DEVICE_NONE) {
476 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER;
479 if ((device2 == AUDIO_DEVICE_NONE) &&
481 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_SPEAKER;
483 if (device2 == AUDIO_DEVICE_NONE) {
484 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_WIRED_HEADPHONE;
486 if (device2 == AUDIO_DEVICE_NONE) {
487 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_LINE;
489 if (device2 == AUDIO_DEVICE_NONE) {
490 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_WIRED_HEADSET;
492 if (device2 == AUDIO_DEVICE_NONE) {
493 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_USB_ACCESSORY;
495 if (device2 == AUDIO_DEVICE_NONE) {
496 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_USB_DEVICE;
498 if (device2 == AUDIO_DEVICE_NONE) {
499 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET;
501 if ((device2 == AUDIO_DEVICE_NONE) && (strategy != STRATEGY_SONIFICATION)) {
503 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_AUX_DIGITAL;
505 if ((device2 == AUDIO_DEVICE_NONE) &&
507 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET;
509 if (device2 == AUDIO_DEVICE_NONE) {
510 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_SPEAKER;
520 device2 |= device3;
523 device |= device2;