]> git.alsa-project.org Git - alsa-gobject.git/commit
rawmidi: fix wrong handling of open flag
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 3 Apr 2022 01:51:39 +0000 (10:51 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 3 Apr 2022 02:02:41 +0000 (11:02 +0900)
commit89cadb38b957a97b82e99d2143b2fda1e2203e28
tree641d217e1ad5800021af118c40ff138d2c7c09b9
parent696f60180823fcf9dd602cb0ce8627e903800ab7
rawmidi: fix wrong handling of open flag

ALSARawmidi.StreamPair.open() has open_flag parameter for flags parameter of
open(2) system call, however internally it's not handled correctly.

This commit fixes the bug.

Fixes: 909ff54d5265 ("rawmidi: stream_pair: add APIs to open ALSA Rawmidi character device")
src/rawmidi/stream-pair.c