diff --git a/osu.Framework/Audio/AudioCollectionManager.cs b/osu.Framework/Audio/AudioCollectionManager.cs index 8917280ee8..81b0d668e5 100644 --- a/osu.Framework/Audio/AudioCollectionManager.cs +++ b/osu.Framework/Audio/AudioCollectionManager.cs @@ -55,10 +55,23 @@ protected override void UpdateChildren() } } + /// + /// An item has been added to . + /// + /// The item which was added. protected virtual void ItemAdded(T item) { } + /// + /// An item has been removed from . + /// Importantly, dispose of the here if required. + /// + /// + /// Disposal is left up to the implementor because some cases of removal see items managed by a higher + /// level class, i.e. SampleBassFactory. + /// + /// The item which was removed. protected virtual void ItemRemoved(T item) { }