Home
last modified time | relevance | path

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

/system/media/audio/include/system/
Daudio.h947 static inline bool audio_port_config_has_input_direction(const struct audio_port_config *port_cfg) { in audio_port_config_has_input_direction() argument
948 return audio_has_input_direction(port_cfg->type, port_cfg->role); in audio_port_config_has_input_direction()
2096 static inline bool audio_port_config_has_hw_av_sync(const struct audio_port_config *port_cfg) { in audio_port_config_has_hw_av_sync() argument
2097 if (!(port_cfg->config_mask & AUDIO_PORT_CONFIG_FLAGS)) { in audio_port_config_has_hw_av_sync()
2100 return audio_port_config_has_input_direction(port_cfg) ? in audio_port_config_has_hw_av_sync()
2101 port_cfg->flags.input & AUDIO_INPUT_FLAG_HW_AV_SYNC in audio_port_config_has_hw_av_sync()
2102 : port_cfg->flags.output & AUDIO_OUTPUT_FLAG_HW_AV_SYNC; in audio_port_config_has_hw_av_sync()