setSpeed method
Change the playback speed
The parameter is a floating point number between 0 and 1.0 to slow the speed, or 1.0 to n to accelerate the speed.
Speed can be changed when player is running, or before startPlayer.
Example:
await myPlayer.setSpeed(0.8);
Implementation
Future<void> setSpeed(double speed) async {
await _lock.synchronized(() async {
await _setSpeed(speed);
});
}