MCPcopy Create free account
hub / github.com/celtera/libremidi / main

Function main

examples/midiprobe.cpp:54–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54int main()
55{
56#if defined(_WIN32) && __has_include(<winrt/base.h>)
57 // Necessary for using WinUWP and WinMIDI, must be done as early as possible in your main()
58 winrt::init_apartment();
59#endif
60 for (auto& api : libremidi::available_apis())
61 enumerate_api(api);
62 for (auto& api : libremidi::available_ump_apis())
63 enumerate_api(api);
64 return 0;
65}

Callers

nothing calls this directly

Calls 1

enumerate_apiFunction · 0.85

Tested by

no test coverage detected