Home | History | Annotate | Download | only in src

Lines Matching defs:device2

322             uint32_t device2 = AUDIO_DEVICE_NONE;
323 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT;
324 if (device2 == AUDIO_DEVICE_NONE) {
325 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET;
327 if (device2 == AUDIO_DEVICE_NONE) {
328 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_BLUETOOTH_SCO;
335 if (device2 != AUDIO_DEVICE_NONE) {
336 device = device2;
349 if (device2 != AUDIO_DEVICE_NONE) {
350 device |= device2;
391 uint32_t device2 = AUDIO_DEVICE_NONE;
396 device2 = availableOutputDevices.types() & AUDIO_DEVICE_OUT_REMOTE_SUBMIX;
406 if ((device2 == AUDIO_DEVICE_NONE) &&
408 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_HEARING_AID;
410 if ((device2 == AUDIO_DEVICE_NONE) &&
413 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_BLUETOOTH_A2DP;
414 if (device2 == AUDIO_DEVICE_NONE) {
415 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES;
417 if (device2 == AUDIO_DEVICE_NONE) {
418 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER;
421 if ((device2 == AUDIO_DEVICE_NONE) &&
423 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_SPEAKER;
425 if (device2 == AUDIO_DEVICE_NONE) {
426 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_WIRED_HEADPHONE;
428 if (device2 == AUDIO_DEVICE_NONE) {
429 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_LINE;
431 if (device2 == AUDIO_DEVICE_NONE) {
432 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_WIRED_HEADSET;
434 if (device2 == AUDIO_DEVICE_NONE) {
435 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_USB_HEADSET;
437 if (device2 == AUDIO_DEVICE_NONE) {
438 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_USB_ACCESSORY;
440 if (device2 == AUDIO_DEVICE_NONE) {
441 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_USB_DEVICE;
443 if (device2 == AUDIO_DEVICE_NONE) {
444 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET;
446 if ((device2 == AUDIO_DEVICE_NONE) && (strategy != STRATEGY_SONIFICATION)) {
448 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_AUX_DIGITAL;
450 if ((device2 == AUDIO_DEVICE_NONE) &&
452 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET;
454 if (device2 == AUDIO_DEVICE_NONE) {
455 device2 = availableOutputDevicesType & AUDIO_DEVICE_OUT_SPEAKER;
465 device2 |= device3;
468 device |= device2;