Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DEffects.cpp3510 if (mHalEffect != nullptr && mDevicePort.id == port->id) { in checkPort()
3513 mDevicePort = *port; in checkPort()
3532 mDevicePort.id = AUDIO_PORT_HANDLE_NONE; in checkPort()
3591 mDevicePort.id = AUDIO_PORT_HANDLE_NONE; in removeEffect()
3601 return mManagerCallback->addEffectToHal(&mDevicePort, effect); in addEffectToHal()
3609 return mManagerCallback->removeEffectFromHal(&mDevicePort, effect); in removeEffectFromHal()
3630 if (mDevicePort.id != AUDIO_PORT_HANDLE_NONE) { in isOutput()
3631 return mDevicePort.role == AUDIO_PORT_ROLE_SINK; in isOutput()
3637 if (mDevicePort.id != AUDIO_PORT_HANDLE_NONE && in sampleRate()
3638 (mDevicePort.config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) != 0) { in sampleRate()
[all …]
DEffects.h844 struct audio_port_config mDevicePort = { .id = AUDIO_PORT_HANDLE_NONE }; variable