We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f265e1 commit 0d6943eCopy full SHA for 0d6943e
README.md
@@ -39,9 +39,8 @@ will create a instance named `ipMIDI2` and is connected to port 21930.
39
```cpp
40
#include <ipMIDI.h>
41
...
42
-typedef IPMIDI_NAMESPACE::ipMidiTransport<Type> __imt; \
43
-__imt ipMIDI3(21930); \
44
-MIDI_NAMESPACE::MidiInterface<__imt> MIDI3((__imt &)ipMIDI3);
+IPMIDI_NAMESPACE::ipMidiTransport<Type> ipMIDI(Port); \
+MIDI_NAMESPACE::MidiInterface<IPMIDI_NAMESPACE::ipMidiTransport<Type>> Name((IPMIDI_NAMESPACE::ipMidiTransport<Type> &)ipMIDI);
45
```
46
will create a instance named `ipMIDI3` (and underlaying MIDI object `MIDI3`) and is by default connected to port 21930.
47
0 commit comments