-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
❌ /Users/michael/.pub-cache/hosted/pub.dartlang.org/midi_io-1.0.3/ios/Classes/WebMIDIKit/MIDIPacketList.swift:18:27: cannot find 'AudioGetCurrentHostTime' in scope
let current = AudioGetCurrentHostTime()
^~~~~~~~~~~~~~~~~~~~~~~
❌ /Users/michael/.pub-cache/hosted/pub.dartlang.org/midi_io-1.0.3/ios/Classes/WebMIDIKit/MIDIPacketList.swift:19:27: cannot find 'AudioConvertNanosToHostTime' in scope
let _offset = AudioConvertNanosToHostTime(UInt64($0 * 1000000))
^~~~~~~~~~~~~~~~~~~~~~~~~~~
⚠️ /Users/michael/.pub-cache/hosted/pub.dartlang.org/midi_io-1.0.3/ios/Classes/WebMIDIKit/MIDIPacketList.swift:56:13: variable 'd' was never mutated; consider changing to 'let' constant
var d = Data(data)
~~~ ^
❌ /Users/michael/.pub-cache/hosted/pub.dartlang.org/midi_io-1.0.3/ios/Classes/SwiftMidiPlugin.swift:89:110: function produces expected type 'FlutterBinaryMessenger'; did you mean to call it with '()'?
let methodChannel = FlutterMethodChannel(name: Constants.METHOD_CHANNEL_NAME, binaryMessenger: registrar.messenger)
^
❌ /Users/michael/.pub-cache/hosted/pub.dartlang.org/midi_io-1.0.3/ios/Classes/SwiftMidiPlugin.swift:90:114: function produces expected type 'FlutterBinaryMessenger'; did you mean to call it with '()'?
let deviceEventChannel = FlutterEventChannel(name: Constants.DEVICE_CHANNEL_NAME, binaryMessenger: registrar.messenger)
^
❌ /Users/michael/.pub-cache/hosted/pub.dartlang.org/midi_io-1.0.3/ios/Classes/SwiftMidiPlugin.swift:91:116: function produces expected type 'FlutterBinaryMessenger'; did you mean to call it with '()'?
let messageEventChannel = FlutterEventChannel(name: Constants.MESSAGE_CHANNEL_NAME, binaryMessenger: registrar.messenger)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working