rustysynth icon indicating copy to clipboard operation
rustysynth copied to clipboard

refactor: Special messages handling

Open sevonj opened this issue 8 months ago • 0 comments

Currently some special messages are mapped and packed into unused ranges of normal fields that represent other things.

Changed Message struct into an enum; the data is now inside the type, instead of the being the other way around. This removes the need to pack and unpack it and also makes handling the type as simple as it can be.

sevonj avatar Apr 24 '25 08:04 sevonj