Home
last modified time | relevance | path

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

/system/media/audio/include/system/
Daudio.h1320 static inline bool audio_port_config_has_input_direction(const struct audio_port_config *port_cfg) { in audio_port_config_has_input_direction() argument
1321 switch (port_cfg->type) { in audio_port_config_has_input_direction()
1323 switch (port_cfg->role) { in audio_port_config_has_input_direction()
1329 switch (port_cfg->role) { in audio_port_config_has_input_direction()
1379 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
1380 if (!(port_cfg->config_mask & AUDIO_PORT_CONFIG_FLAGS)) { in audio_port_config_has_hw_av_sync()
1383 return audio_port_config_has_input_direction(port_cfg) ? in audio_port_config_has_hw_av_sync()
1384 port_cfg->flags.input & AUDIO_INPUT_FLAG_HW_AV_SYNC in audio_port_config_has_hw_av_sync()
1385 : port_cfg->flags.output & AUDIO_OUTPUT_FLAG_HW_AV_SYNC; in audio_port_config_has_hw_av_sync()