Improve README

This commit is contained in:
ryanheise 2020-08-08 02:29:05 +10:00 committed by GitHub
parent e977949d46
commit 75cd428acc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# just_audio
A Flutter plugin to play audio from URLs, files, assets, DASH/HLS streams and playlists. This plugin can be used with [audio_service](https://pub.dev/packages/audio_service) to play audio in the background and control playback from the lock screen, Android notifications, the iOS Control Center, and headset buttons.
This Flutter plugin plays audio from URLs, files, assets, DASH/HLS streams and playlists. Furthermore, it can also clip, loop, shuffle, concatenate and compose audio into complex arrangements with gapless playback. This plugin can be used with [audio_service](https://pub.dev/packages/audio_service) to play audio in the background and control playback from the lock screen, Android notifications, the iOS Control Center, and headset buttons.
## Features
@ -49,7 +49,7 @@ Clipping audio:
```dart
await player.setClip(start: Duration(seconds: 10), end: Duration(seconds: 20));
await player.play(); // Waits for playback to finish
await player.play(); // Waits until the clip has finished playing
```
Adjusting audio:
@ -89,7 +89,7 @@ Composing audio sources:
```dart
player.load(
// Loop its child 4 times
// Loop child 4 times
LoopingAudioSource(
count: 4,
// Play children one after the other