Home | History | Annotate | Download | only in libaudio

Lines Matching refs:device

63                                            audio_devices_t device)
69 (void)device;
73 status_t ATVAudioPolicyManager::setDeviceConnectionState(audio_devices_t device,
79 ALOGE("setDeviceConnectionState %08x %x %s", device, state,
82 // If the input device is the remote submix and an address starting with "force=" was
84 // input device over hardware input devices (e.g RemoteControl).
85 if (device == AUDIO_DEVICE_IN_REMOTE_SUBMIX && device_address) {
93 if (audio_is_output_device(device)) {
96 tmp = mAvailableOutputDevices.types() | device;
100 tmp = mAvailableOutputDevices.types() & ~device;
112 if (device != AUDIO_DEVICE_IN_REMOTE_SUBMIX) {
114 device, state, device_address, device_name);
117 if (audio_is_output_device(device)) {
127 uint32_t device = AUDIO_DEVICE_NONE;
143 ALOGV("getDeviceForInputSource No active connected device, passing onto submix");
156 device = AUDIO_DEVICE_IN_WIRED_HEADSET;
161 device = AUDIO_DEVICE_IN_REMOTE_SUBMIX;
164 device = AUDIO_DEVICE_IN_USB_DEVICE;
168 ALOGV("getDeviceForInputSource() input source %d, device %08x", inputSource, device);
169 return device;