How to scan for virtual ports? #176
-
|
Hi, I'm wondering if it's possible to scan virtual and connect to them. I was able to create two virtuals ports (one input, one output) and connect them with Thanks, dr3f |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
hello! You can pass an observer_configuration object to the libremidi::observer instance with only alternatively, when you list ports with observers, they have the "flags" member which indicates the "kind" of port (if the API provides this information): https://github.com/celtera/libremidi/blob/master/include/libremidi/observer_configuration.hpp#L27 you need to test like this: |
Beta Was this translation helpful? Give feedback.
-
|
Thank you! I missed that flag. I was able to create a loopback quite easily after that. To anyone stumbling on this, virtual output ports created with Virtual echo exampleOutput |
Beta Was this translation helpful? Give feedback.
hello!
You can pass an observer_configuration object to the libremidi::observer instance with only
track_virtualset:libremidi/include/libremidi/observer_configuration.hpp
Line 136 in d778326
alternatively, when you list ports with observers, they have the "flags" member which indicates the "kind" of port (if the API provides this information):
https://github.com/celtera/libremidi/blob/master/include/libremidi/observer_configuration.hpp#L27
you need to test like this: