Releases: chris-zen/coremidi
Releases · chris-zen/coremidi
Fix object conversions
- Removes the capability to convert between different types of objects.
- Allows to clone
Device
,Entity
,Source
andDestination
because they are just object references which lifetime is managed by CoreMIDI. - Introduces the type
AnyObject
that can encapsulate different types of objects as needed by the Notifications
BREAKING CHANGES:
- The Notifications structs change from using
ObjectType/Object
to usingAnyObject
. - Several
From
conversions are removed.
Adding support for the MIDI 2.0 protocol
This release adds support for the MIDI 2.0 protocol and cleans up some other things:
- Added
EventList
andEventBuffer
support. - Added
input_port_with_protocol
andvirtual_destination_with_protocol
toClient
. input_port_with_protocol
creates aInputPortWithContext<T>
that allows to define a context to every source that is connected throughconnect_source
.OutputPort::send
andVirtualSource::received
can work with bothPacketList
andEventList
.- Using blocks for callbacks from
Client
. Client
notifications allowed by reference or ownership.- Simplified the
PacketList
andPacketBuffer
implementations. - Added
set_property
andget_property
toObject
. - Conversions between
Source
,Destination
,VirtualSource
,VirtualDestination
,Device
,Entity
andObject
. - Updated all the examples and documentation to use
EventList
.
Refactoring && CI migration to GitHub Actions && PacketBuffer improvements
- Rust compiler upgraded to 1.51.0
- Rust edition upgraded to 2018
- Upgrade coremidi-sys, core-foundation and core-foundation-sys
- Moved
struct
s andimpl
s together PacketBuffer
usesMIDIPacketListInit
andMIDIPacketListAdd
- Applied cargo fmt
- Several Clippy fixes
- Migrated CI to Github Actions
- Breaks retro-compatibility for notification events
IOErrorInfo
renamed toIoErrorInfo
Notification::IOError
renamed toNotification::IoError
Fixed bugs around Client Notifications and Core Framework
0.5.0 Documented How to Receive Client Notifications (#28)
Implement Send for BoxedCallback
0.4.0 implement Send for BoxedCallback (#15)
Allow empty PacketBuffer and initial capacity
0.3.1 Allow empty PacketBuffer and initial capacity