Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
This MR introduces 2 changes related to formatted values constructors.
Introduce a set of Constructor traits which are implemented on integer of float depending on the formatted values. This traits allows building formatted values using expressions such as:
let buffer_nb = 20.buffers();
let size = 42.kibibytes();
let duration = 15.minutes() + 30.seconds();
let quantity = 42.default_format();
let progress = 20.percent();
let progress = 0.2.percent_ratio();
See how it would impact gst-plugins-rs
if it were applied:
ClockTime
s, mostly in tests.mul_div_round
invocation.Bytes
.from_u64
const
The second commit turns the main specific formatted values constructors const
.