mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
fixed open - accepts SND_RAWMIDI_SYNC flag.
This commit is contained in:
parent
9fd32231dd
commit
a577b0d7c1
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ int snd_rawmidi_hw_open(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp,
|
|||
fmode |= O_SYNC;
|
||||
}
|
||||
|
||||
assert(!(mode & ~(SND_RAWMIDI_APPEND|SND_RAWMIDI_NONBLOCK)));
|
||||
assert(!(mode & ~(SND_RAWMIDI_APPEND|SND_RAWMIDI_NONBLOCK|SND_RAWMIDI_SYNC)));
|
||||
|
||||
if ((fd = open(filename, fmode)) < 0) {
|
||||
snd_card_load(card);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue