Liking cljdoc? Tell your friends :D

javax.sound.midi.spi.MidiDeviceProvider

A MidiDeviceProvider is a factory or provider for a particular type of MIDI device. This mechanism allows the implementation to determine how resources are managed in the creation and management of a device.

A MidiDeviceProvider is a factory or provider for a particular type
of MIDI device. This mechanism allows the implementation to determine how
resources are managed in the creation and management of a device.
raw docstring

->midi-device-providerclj

(->midi-device-provider)

Constructor.

Constructor.
raw docstring

device-supported?clj

(device-supported? this info)

Indicates whether the device provider supports the device represented by the specified device info object.

info - an info object that describes the device for which support is queried - javax.sound.midi.MidiDevice.Info

returns: true if the specified device is supported, otherwise false - boolean

Indicates whether the device provider supports the device represented by
 the specified device info object.

info - an info object that describes the device for which support is queried - `javax.sound.midi.MidiDevice.Info`

returns: true if the specified device is supported, otherwise
         false - `boolean`
raw docstring

get-deviceclj

(get-device this info)

Obtains an instance of the device represented by the info object.

info - an info object that describes the desired device - javax.sound.midi.MidiDevice.Info

returns: device instance - javax.sound.midi.MidiDevice

throws: java.lang.IllegalArgumentException - if the info object specified does not match the info object for a device supported by this MidiDeviceProvider

Obtains an instance of the device represented by the info object.

info - an info object that describes the desired device - `javax.sound.midi.MidiDevice.Info`

returns: device instance - `javax.sound.midi.MidiDevice`

throws: java.lang.IllegalArgumentException - if the info object specified does not match the info object for a device supported by this MidiDeviceProvider
raw docstring

get-device-infoclj

(get-device-info this)

Obtains the set of info objects representing the device or devices provided by this MidiDeviceProvider.

returns: set of device info objects - javax.sound.midi.MidiDevice.Info[]

Obtains the set of info objects representing the device or devices
 provided by this MidiDeviceProvider.

returns: set of device info objects - `javax.sound.midi.MidiDevice.Info[]`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close