NOW LOADING

MidiBasicLoopbackUpdateConfig


Changes a basic loopback that already exists
Namespace Windows.Devices.Midi2.Transports.BasicLoopback
Type Name MidiBasicLoopbackUpdateConfig
Type WinRT Runtime Class
Implements IMidiServiceTransportPluginConfig 
IDL MidiBasicLoopbackUpdateConfig.idl

Changes a basic loopback that already exists. Only the properties you set are changed. Everything else stays as it is.

Pass it to MidiBasicLoopbackManager.UpdateLoopback to change the running loopback. Pass it to MidiServiceTransportPluginConfigManager.SaveUpdate to change the saved loopback.

Constructors

Constructor Description
MidiBasicLoopbackUpdateConfig(associationId) Creates a configuration that changes the basic loopback with this association id

Properties

Property Description
AssociationId The GUID of the basic loopback to change
Name The new name. An empty name is ignored, because every endpoint needs one
Description The new description. Set it to empty to remove the description
ImageFileName The bare file name of a picture in the shared endpoint assets folder, not a path. Set it to empty to remove the picture
IsMuted True to mute the loopback, false to unmute it
FeedbackProtection What the loopback does if MIDI feeds back into it

Remarks

The unique id isn’t here, because it decides how the endpoint is built. To change it, remove the loopback and create it again.

UpdateLoopback stops at the first change that fails, and reports it.

Saving is refused with ErrorEntryNotSaved when the loopback isn’t saved. That keeps half an entry out of the configuration file.

Didn't find what you were looking for?

Windows MIDI Services is an open source project with all source available on GitHub. We have a great community on Discord as well. Between GitHub and Discord, you should find the information you are looking for.