Skip to content

Commit

Permalink
Swap capture and playback in port_type[].
Browse files Browse the repository at this point in the history
This is for consistency with port names elsewhere (where capture is
always on the input, playback on the output side). It affects both
seqmidi aliases which were the wrong way round.
  • Loading branch information
agraef committed Jul 23, 2023
1 parent cdaf88c commit 3edde50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linux/alsa/alsa_seqmidi.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@ static port_type_t port_type[2] = {
{
SND_SEQ_PORT_CAP_SUBS_READ,
JackPortIsOutput,
"playback",
"capture",
do_jack_input
},
{
SND_SEQ_PORT_CAP_SUBS_WRITE,
JackPortIsInput,
"capture",
"playback",
do_jack_output
}
};
Expand Down

0 comments on commit 3edde50

Please sign in to comment.