Skip to content

[BUG] 10+ second delay to get function blocks from a virtual device app #560

Open
@Psychlist1972

Description

Reported on Discord by Reuben Thomas (JUCE):

I'm testing on Win11 Canary Build 27788.rs_prerelease.250131-1609.

In the process of trying to get virtual MIDI up and running, I've written a small(ish) demo that creates a virtual endpoint device, then opens a connection to the endpoint and installs the virtual device as a client processing plugin. The app also lists all MIDI devices, including virtual devices, so this list should include the app's own virtual device.

The first time I launch the app, the virtual connection shows up with no Function Block information, but this appears after a delay. The delay is much longer than for a hardware device, more than 10 seconds. On subsequent launches, the function blocks never show up, although the device itself does. So, it seems like the system UMP endpoint cache isn't getting updated, or isn't notifying the app after being updated. If I close my demo app, manually restart the MIDI Service, and then reopen my app, the function blocks are listed correctly again (though there's still a 10 second delay). Is this a known issue?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug 🐞Something isn't workingneeds-investigation 🔍Needs to be investigated before considering or solving.

Type

Projects

  • Status

    No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions