Skip to content

Opening MIDI devices on Linux always fails. Fix inside #492

@lkamp

Description

@lkamp

I built from source on Arch Linux, version 5.6.0, downloaded from the GitHub releases page.

Opening a MIDI device always failed. I fixed the issue by changing CtrlrMIDIDevice.cpp line 54 from

outJucePtr = MidiOutput::openDevice (getProperty(Ids::midiDevIndex).toString()).release();

to

outJucePtr = MidiOutput::openDevice ((int)getProperty(Ids::midiDevIndex)).release();

Same thing has to be done on line 75 to open MIDI input.

This was only tested on current version of Arch Linux. No guarantee that it works on all platforms.

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