The MidiOutput::openDevice always return null

Hey

I'm trying to open a MIDI device use MidiOutput::openDevice(0).

what's the prm?​blen

Thanks!

You didn't actually initialise your device manager!

Thanks for your reply!

What i can do?

What i can do?

Well, it's not initialised, so perhaps initialising it would be a good idea...!

There's plenty of example code and tutorials that involve the audiodevicemanager class - maybe start from that if you're new to this kind of thing.

Thank you!

I want to make a console application that can use midi, but there is no such example.

Thank you!

I want to make a console application that can use midi, but there is no such example

Sure, but the classes are all the same regardless of the type of app.

Thank you!