Module Tportmidi.Device_info

Device information.

type t

The type for device information.

Values of this type survive a terminate but the refered host API index will no longer be valid.

val interface : t -> string

interface d is the underlying MIDI API.

val name : t -> string

name d is the device name.

val input : t -> bool

input d is true iff input is available.

val output : t -> bool

output d is true iff output is available.

val is_virtual : t -> bool

is_virtual b is true iff this is a virtual device.