IMPLEMENTATION: Now updating UI based on actual processor changes

This is still experimental - but that is the way to go.

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
MISC: Minor style fixes

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
SYNTHESIZER_COMMON: Added a function to get offset from next multiple

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
RINGBUFFER: Fixed potential bug regarding ringbuffer allocated size

If, when resizing the buffer, the remaining occupied size is not a multiple
of the sample size, then after allocation some misalignment will occur.
We have to take this remaining value into accout when allocating, in order
to always have the free space a multiple of the sample size.

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
TESTS: Replaced all homemade random generators by standard ones

Now relying on <random> stuff. Note that a custom normalized frequency
generator was still kept, but also using std::random internally.

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
MISC: Minor style fixes

Signed-off-by: Gama <misept.dieseneuf@gmail.com>