MIKMIDIErrorCode

Objective-C

enum MIKMIDIErrorCode {}

Swift

enum MIKMIDIErrorCode : Int

Error code values for NSError objects in the MIKMIDI error domain.

  • Unknown error.

    Declaration

    Objective-C

    MIKMIDIUnknownErrorCode = 1

    Swift

    case unknownErrorCode = 1
  • Invalid argument error.

    Declaration

    Objective-C

    MIKMIDIInvalidArgumentError

    Swift

    case invalidArgumentError = 2
  • An error occurred because the connection to a device was lost.

    Declaration

    Objective-C

    MIKMIDIDeviceConnectionLostErrorCode

    Swift

    case deviceConnectionLostErrorCode = 3
  • An connection error occurred because the device has no source endpoints.

    Declaration

    Objective-C

    MIKMIDIDeviceHasNoSourcesErrorCode

    Swift

    case deviceHasNoSourcesErrorCode = 4
  • MIDI mapping using MIKMIDIMappingGenerator failed.

    Declaration

    Objective-C

    MIKMIDIMappingFailedErrorCode

    Swift

    case mappingFailedErrorCode = 5
  • The mapping file did not have the correct file extension (“.midimap”).

    Declaration

    Objective-C

    MIKMIDIMappingIncorrectFileExtensionErrorCode

    Swift

    case mappingIncorrectFileExtensionErrorCode = 6
  • An error ocurred while creating a new track in an MIKMIDISequence. The error’s info dictionary may contain an underlying error with more informationin for its NSUnderlyingErrorKey.

    Declaration

    Objective-C

    MIKMIDISequenceAddTrackFailedErrorCode

    Swift

    case sequenceAddTrackFailedErrorCode = 7
  • An error ocurred during an operation on event(s) in an MIKMIDITrack because the event(s) could not be found in the track.

    Declaration

    Objective-C

    MIKMIDITrackEventNotFoundErrorCode

    Swift

    case trackEventNotFoundErrorCode = 8
  • An error occurred selecting an instrument on MIKMIDISynthesizer, because the synthesizer’s underlying audio unit does not support instrument selection, or MIKMIDI doesn’t know how to select its instruments.

    Declaration

    Objective-C

    MIKMIDISynthesizerDoesNotSupportInstrumentSelectionError

    Swift

    case synthesizerDoesNotSupportInstrumentSelectionError = 9