From 99ce4b1d8a6f577788d82b504db9077e1625055a Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 9 Jul 2024 07:32:11 +0200 Subject: [PATCH] Revert "arecordmidi2: Correct the MIDI FB direction" This reverts commit e609d66807589caad6d38bd2c848fc571675ef62. It turned out that the failure was rather in alsa-lib API; the input and output have been incorrectly implemented. Now that the alsa-lib code got fixed, let's revert the bad fix. Signed-off-by: Takashi Iwai --- seq/aplaymidi2/arecordmidi2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seq/aplaymidi2/arecordmidi2.c b/seq/aplaymidi2/arecordmidi2.c index 86e2b7b..4bca9a9 100644 --- a/seq/aplaymidi2/arecordmidi2.c +++ b/seq/aplaymidi2/arecordmidi2.c @@ -124,7 +124,7 @@ static void create_ump_client(void) sprintf(blkname, "Group %d", i + 1); snd_ump_block_info_set_name(blk, blkname); - snd_ump_block_info_set_direction(blk, SND_UMP_DIR_OUTPUT); + snd_ump_block_info_set_direction(blk, SND_UMP_DIR_INPUT); snd_ump_block_info_set_first_group(blk, i); snd_ump_block_info_set_num_groups(blk, 1); snd_ump_block_info_set_ui_hint(blk, SND_UMP_BLOCK_UI_HINT_RECEIVER);