microsoft / microsoft/MIDI

[BUG]: Multiple watcher events fired when adding a new basic loopback

Open
#917 1 comment 0 reactions 1 assignee View on GitHub

@Psychlist1972 is already working on this.

Since Mar 6, 2026.

area-transports :bus: needs-investigation :mag:
Dominant language
C++
Stars
679
Forks
72
Avg merge
4h 51m
Merged PRs (30d)
59

Description

Environment:
Loopback package Windows.MIDI.Services.Basic.MIDI.1.0.Loopback.Preview.1.0.0-preview.1.2-x64.exe
SDK Windows.MIDI.Services.SDK.Runtime.and.Tools.1.0.16-rc.3.3-x64.exe
Windows 11, 2H2, 26200.7922

For default loopback endpoints the watcher event see att. #1
But for custom named specific loopback endpoints there are multiple updated events in addition. See att. #2
When a regular USB MIDI device is added the watcher event is similar to the default loopback just 'Endpoint Added'

Why are there multiple update events created in addition for the custom named specific loopback endpoints?

IMHO just one 'Endpoint Added' event would be sufficient and consistent when other devices are added. The additional 'Endpoint Updated' events are just confusing w/o any additional value. Or, are there other reasons for the update events?

Default loopback gets this
Image

Additional ones get these
Image

Reported on Discord
https://discord.com/channels/980245825202552942/1479408630913564754/1479408630913564754

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.