working on win32 uwp! and libremidi update
This commit is contained in:
@@ -38,9 +38,9 @@ public:
|
||||
|
||||
if (result != noErr)
|
||||
{
|
||||
error<driver_error>(
|
||||
libremidi_handle_error(
|
||||
this->configuration,
|
||||
"midi_in_core: error creating MIDI client object: " + std::to_string(result));
|
||||
"error creating MIDI client object: " + std::to_string(result));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -69,11 +69,11 @@ public:
|
||||
MIDIEndpointGetEntity(obj, &e);
|
||||
bool physical = bool(e);
|
||||
|
||||
bool ok = false;
|
||||
bool ok = this->configuration.track_any;
|
||||
if (physical && this->configuration.track_hardware)
|
||||
ok = true;
|
||||
ok |= true;
|
||||
else if ((!physical) && this->configuration.track_virtual)
|
||||
ok = true;
|
||||
ok |= true;
|
||||
|
||||
if (!ok)
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user