From 3e8ea3692c4c44d7486fc129b3c56d4902918f64 Mon Sep 17 00:00:00 2001 From: Ryan Heise Date: Tue, 22 Dec 2020 01:43:59 +1100 Subject: [PATCH] Improve setAudioSource doc comment. --- just_audio/lib/just_audio.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/just_audio/lib/just_audio.dart b/just_audio/lib/just_audio.dart index 371793f..2dce4e0 100644 --- a/just_audio/lib/just_audio.dart +++ b/just_audio/lib/just_audio.dart @@ -513,10 +513,10 @@ class AudioPlayer { /// By default, this method will immediately start loading audio and return /// its duration as soon as it is known, or `null` if that information is /// unavailable. Set [preload] to `false` if you would prefer to delay loading - /// until some later point, via an explicit call to [load]. If [preload] is - /// `false`, a `null` duration will be returned. Note that the [preload] - /// option will automatically be assumed as `true` if `playing` is currently - /// `true`. + /// until some later point, either via an explicit call to [load] or via a + /// call to [play] which implicitly loads the audio. If [preload] is `false`, + /// a `null` duration will be returned. Note that the [preload] option will + /// automatically be assumed as `true` if `playing` is currently `true`. /// /// Optionally specify [initialPosition] and [initialIndex] to seek to an /// initial position within a particular item (defaulting to position zero of