Home
last modified time | relevance | path

Searched refs:audioport (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libaudiofoundation/
DAudioPort.cpp344 sp<AudioPort> audioport = getAudioPort(); in toAudioPortConfig() local
345 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() local
367 if (!audioport) { in hasGainController()
370 return canUseForVolume ? audioport->getGains().canUseForVolume() in hasGainController()
371 : audioport->getGains().size() > 0; in hasGainController()