Document setSpeed/setVolume

This commit is contained in:
ryanheise 2020-08-07 02:49:57 +10:00 committed by GitHub
parent 4f361b152c
commit 01f76ee39c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -51,6 +51,12 @@ Clipping audio:
await player.setClip(start: Duration(seconds: 10), end: Duration(seconds: 20));
await player.play(); // Waits for playback to finish
```
Adjusting audio:
```dart
await player.setSpeed(2.0); // Double speed
await player.setVolume(0.5); // Halve volume
```
Gapless playlists: