clip property
AudioClip?
get
clip
The clip this source plays. Assigning while playing takes effect on the next play.
Implementation
AudioClip? get clip => _clip;
set
clip
(AudioClip? value)
Implementation
set clip(AudioClip? value) {
if (_ownsClip) _clip?.dispose();
_ownsClip = false;
_clip = value;
}