Lines Matching defs:direction
400 /* get direction and channels */
1023 const char *direction;
1148 direction = is_sink ? "output" : "input";
1149 pa_log_debug("Port %s direction %s, priority %d", port->name, direction, priority);
1465 ps->direction = m->direction;
1468 switch (m->direction) {
1489 bool is_sink = m->direction == PA_ALSA_DIRECTION_OUTPUT;
1539 if (m->direction == PA_ALSA_DIRECTION_OUTPUT) {
1610 m->ucm_context.direction = is_sink ? PA_DIRECTION_OUTPUT : PA_DIRECTION_INPUT;
1614 m->direction = is_sink ? PA_ALSA_DIRECTION_OUTPUT : PA_ALSA_DIRECTION_INPUT;
1658 m->ucm_context.direction = is_sink ? PA_DIRECTION_OUTPUT : PA_DIRECTION_INPUT;
1662 m->direction = is_sink ? PA_ALSA_DIRECTION_OUTPUT : PA_ALSA_DIRECTION_INPUT;
2185 if (context->direction == PA_DIRECTION_OUTPUT)
2196 if (context->direction == PA_DIRECTION_OUTPUT)