Home | History | Annotate | Download | only in libaudio

Lines Matching full:device

244         // even if the new device selected is the same as current one.
360 static status_t set_volume_rpc(uint32_t device,
366 LOGD("rpc_snd_set_volume(%d, %d, %d)\n", device, method, volume);
369 if (device == -1UL) return NO_ERROR;
373 LOGE("Can not open snd device");
377 * device, # Any hardware device enum, including
386 args.device = device;
435 static status_t do_route_audio_rpc(uint32_t device,
438 if (device == -1UL)
443 LOGD("rpc_snd_set_device(%d, %d, %d)\n", device, ear_mute, mic_mute);
448 LOGE("Can not open snd device");
453 * device, # Hardware device enum to use
462 args.device = device;
477 status_t AudioHardware::doAudioRouteOrMute(uint32_t device)
479 if (device == (uint32_t)SND_DEVICE_BT || device == (uint32_t)SND_DEVICE_CARKIT) {
481 device = mBluetoothId;
483 device = SND_DEVICE_BT_EC_OFF;
486 LOGV("doAudioRouteOrMute() device %x, mMode %d, mMicMute %d", device, mMode, mMicMute);
487 return do_route_audio_rpc(device,
508 LOGI("do input routing device %x\n", inputDevice);
833 int device;
836 if (param.getInt(key, device) == NO_ERROR) {
837 mDevices = device;
911 // open audio input device
1024 // force routing to input device
1095 int device;
1098 if (param.getInt(key, device) == NO_ERROR) {
1099 LOGV("set input routing %x", device);
1100 if (device & (device - 1)) {
1103 mDevices = device;