diff --git a/src/modules/module-adapter/adapter.c b/src/modules/module-adapter/adapter.c index a337165a5..26d91fa2b 100644 --- a/src/modules/module-adapter/adapter.c +++ b/src/modules/module-adapter/adapter.c @@ -115,16 +115,16 @@ static void node_port_init(void *data, struct pw_impl_port *port) if (is_duplex) prefix = direction == PW_DIRECTION_INPUT ? - "playback" : is_monitor ? "monitor" : "capture"; + "playback" : "capture"; else if (is_virtual) prefix = direction == PW_DIRECTION_INPUT ? - "input" : is_monitor ? "monitor" : "capture"; + "input" : "capture"; else if (is_device) prefix = direction == PW_DIRECTION_INPUT ? "playback" : is_monitor ? "monitor" : "capture"; else prefix = direction == PW_DIRECTION_INPUT ? - "input" : is_monitor ? "monitor" : "capture" ; + "input" : "output"; if ((str = pw_properties_get(old, PW_KEY_AUDIO_CHANNEL)) == NULL || strcmp(str, "UNK") == 0) {