Home | History | Annotate | Download | only in audio

Lines Matching defs:device2

2684         uint32_t device2 = AUDIO_DEVICE_NONE;
2687 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_REMOTE_SUBMIX;
2689 if ((device2 == AUDIO_DEVICE_NONE) &&
2692 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_BLUETOOTH_A2DP;
2693 if (device2 == AUDIO_DEVICE_NONE) {
2694 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES;
2696 if (device2 == AUDIO_DEVICE_NONE) {
2697 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER;
2700 if (device2 == AUDIO_DEVICE_NONE) {
2701 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_WIRED_HEADPHONE;
2703 if (device2 == AUDIO_DEVICE_NONE) {
2704 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_WIRED_HEADSET;
2706 if (device2 == AUDIO_DEVICE_NONE) {
2707 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_USB_ACCESSORY;
2709 if (device2 == AUDIO_DEVICE_NONE) {
2710 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_USB_DEVICE;
2712 if (device2 == AUDIO_DEVICE_NONE) {
2713 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET;
2715 if ((device2 == AUDIO_DEVICE_NONE) && (strategy != STRATEGY_SONIFICATION)) {
2717 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_AUX_DIGITAL;
2719 if ((device2 == AUDIO_DEVICE_NONE) &&
2721 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET;
2723 if (device2 == AUDIO_DEVICE_NONE) {
2724 device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_SPEAKER;
2729 device |= device2;