mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 13:16:31 +01:00
Revert "arecordmidi2: Correct the MIDI FB direction"
This reverts commit e609d66807
.
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 <tiwai@suse.de>
This commit is contained in:
parent
68491dd464
commit
99ce4b1d8a
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ static void create_ump_client(void)
|
||||||
|
|
||||||
sprintf(blkname, "Group %d", i + 1);
|
sprintf(blkname, "Group %d", i + 1);
|
||||||
snd_ump_block_info_set_name(blk, blkname);
|
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_first_group(blk, i);
|
||||||
snd_ump_block_info_set_num_groups(blk, 1);
|
snd_ump_block_info_set_num_groups(blk, 1);
|
||||||
snd_ump_block_info_set_ui_hint(blk, SND_UMP_BLOCK_UI_HINT_RECEIVER);
|
snd_ump_block_info_set_ui_hint(blk, SND_UMP_BLOCK_UI_HINT_RECEIVER);
|
||||||
|
|
Loading…
Reference in a new issue