Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Return device information.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PortMidi | 4.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
index | The device ID to query. From 0 to PortMidi.DeviceCount-1. | 0 |
selector | Which detail to query. Can be Name, Interface, Input, Output or Opened. | "name" |
Returns value or error.
Query if first device is open:
MBS( "PortMidi.GetDeviceInfo"; 0; "opened" )
Query name of third device
MBS( "PortMidi.GetDeviceInfo"; 2; "Name" )
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014