Searched refs:audioport (Results 1 – 1 of 1) sorted by relevance
344 sp<AudioPort> audioport = getAudioPort(); in toAudioPortConfig() local345 if ((dstConfig->config_mask & AUDIO_PORT_CONFIG_GAIN) && audioport != NULL) { in toAudioPortConfig()348 && audioport->checkGain(&srcConfig->gain, srcConfig->gain.index) == OK) { in toAudioPortConfig()366 sp<AudioPort> audioport = getAudioPort(); in hasGainController() local367 if (!audioport) { in hasGainController()370 return canUseForVolume ? audioport->getGains().canUseForVolume() in hasGainController()371 : audioport->getGains().size() > 0; in hasGainController()