Patrick Reisert

Results 137 comments of Patrick Reisert
trafficstars

Actually a new version is not needed (and `coremidi-sys` is not even a direct dependency of `midir`). `cargo update` should do the trick.

> FWIW, coremidi 0.7.0+ doesn't support macOS 10.x because it uses [MIDISendEventList](https://developer.apple.com/documentation/coremidi/3566494-midisendeventlist) and [MIDIReceivedEventList](https://developer.apple.com/documentation/coremidi/3566493-midireceivedeventlist). I'm not sure this is something that is important to anyone, just reporting my findings compiling...

> However, the documentation for midiOutReset also specifies that it stops processing of pending output buffers. midiOutClose will return an error if output is still pending (MIDIERR_STILLPLAYING). I wonder if...

This has repeatedly hit users of `midir`. I think the proposed fix by @jmbarbier is correct, but that code is actually part of https://github.com/jonas-k/coremidi-sys. @jmbarbier Maybe you can open a...

Actually I'm not sure whether that fix is correct. `MIDIPacket` should be 4-byte aligned on ARM (see also https://github.com/chris-zen/coremidi/pull/9), so `read_unaligned` shouldn't be necessary. The error must be somewhere else...

Okay, I think the problem is this: "The alignment requirements of MIDIPacket may differ between CPU architectures. On Intel and PowerPC, MIDIPacket is unaligned. On ARM, MIDIPacket must be 4-byte...

@jmbarbier @arteme @oilcake Can you confirm that you're seeing this on Intel processors?

This should be fixed with the latest version of `coremidi-sys`

> I think, @Boddlnagg means coremidi-sys version 3.1.1 released a couple hours ago. Yes, that's right