Skip to content

Conversion between OscTime and SystemTime

Compare
Choose a tag to compare
@klingtnet klingtnet released this 23 Mar 20:05
· 187 commits to master since this release
5467083

This release adds conversion functionality between SystemTime and OscTime.
This comes with a minor breaking change but OscTime implements From/Into traits for (u32, u32) (the previous type alias) and so you can just use .into() to convert between (u32, u32) and OscTime. More details can be found in the docks docs.

Thanks to @ooesili for providing the implementation!