The OpenD Programming Language

MidiOutput.this

device is a device name. On Linux, it is the ALSA string. On Windows, it is currently ignored, so you should pass "default" or null so when it does get implemented your code won't break.

If you pass the string "DUMMY", it will not actually open a device and simply be a do-nothing mock object;

  1. this(int card)
  2. this(string device)
    struct MidiOutput
    this
    (
    string device
    )

Meta

History

Added Nov 8, 2020.

Support for the "DUMMY" device was added on January 2, 2022.