Skip to content

Utility blocks when MIDI device is in use by another process #6

@hugovangalen

Description

@hugovangalen

The utility blocks for no apparent reason when the MIDI device is in use by another process. The culprit seems to be line 30 in midi.c:
r = snd_rawmidi_open(&handle_in, &handle_out, device, 0);

If SND_RAWMIDI_NONBLOCK is set as the flags, then the utility properly exits with a human readable error:
r = snd_rawmidi_open(&handle_in, &handle_out, device, SND_RAWMIDI_NONBLOCK );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions