Searched refs:devicePort (Results 1 – 3 of 3) sorted by relevance
32 AudioDevicePortConfig(AudioDevicePort devicePort, int samplingRate, int channelMask, in AudioDevicePortConfig() argument34 super((AudioPort)devicePort, samplingRate, channelMask, format, gain); in AudioDevicePortConfig()
405 for (const auto& devicePort : devices()) { in setVolume() local409 if (device == devicePort->type() && in setVolume()410 devicePort->hasGainController(true) && isActive(vs)) { in setVolume()411 ALOGV("%s: device %s has gain controller", __func__, devicePort->toString().c_str()); in setVolume()421 AudioGains gains = devicePort->getGains(); in setVolume()429 devicePort->toAudioPortConfig(&config); in setVolume()
917 final AudioDevicePort devicePort = (AudioDevicePort) port; in configureHdmiPlugIntent() local918 if (devicePort.type() != AudioManager.DEVICE_OUT_HDMI in configureHdmiPlugIntent()919 && devicePort.type() != AudioManager.DEVICE_OUT_HDMI_ARC) { in configureHdmiPlugIntent()923 int[] formats = AudioFormat.filterPublicFormats(devicePort.formats()); in configureHdmiPlugIntent()937 for (int mask : devicePort.channelMasks()) { in configureHdmiPlugIntent()