Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

PortMidi.GetDefaultOutputDeviceID

Return the default output device ID.

Component Version macOS Windows Linux Server iOS SDK
PortMidi 4.2 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "PortMidi.GetDefaultOutputDeviceID" )

Parameters

none

Result

Returns Device ID.

Description

Return the default output device ID.
Returns -1 if no device is found. You can pass the index to PortMidi.OpenOutput function.

See also

Example Databases

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014


PortMidi.GetDefaultInputDeviceID - PortMidi.GetDeviceID