This PR adds a new function for volume & speed prefixed with add_ to do signed operations, and replaces (and removes) the old _up and _down functions.
Also the new function(s) provide a default implementation, as it would be the same in all backends.
For now the PlayerCmd enum is un-touched, but i plan to also replace the Up and Down events there with a relative and value.
This PR adds a new function for volume & speed prefixed with
add_
to do signed operations, and replaces (and removes) the old_up
and_down
functions. Also the new function(s) provide a default implementation, as it would be the same in all backends.For now the
PlayerCmd
enum is un-touched, but i plan to also replace theUp
andDown
events there with a relative and value.