     internal mutating func send(to output: MIDIOutput, offset: Double? = nil) {
 
         _ = offset.map {
-
-            let current = AudioGetCurrentHostTime()
+			// NOTE: AudioGetCurrentHostTime() CoreAudio method is only available on macOS
+			let current = AudioGetCurrentHostTime()
             let _offset = AudioConvertNanosToHostTime(UInt64($0 * 1000000))
 
             let ts = current + _offset


        return AnyIterator {
            defer {
                p = MIDIPacketNext(&p).pointee
            }

            return i.next().map { _ in .init(packet: &p) }


        timeStamp = timestamp

        let d = Data(data)
        length = UInt16(d.count)

        /// write out bytes to data
