// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Audio.Sample { /// /// A unique playback of an . /// public interface ISampleChannel : IHasAmplitudes { /// /// Starts or resumes playback. Has no effect if this is already playing. /// void Play(); /// /// Stops playback. /// void Stop(); /// /// Whether playback was ever started. /// bool Played { get; } /// /// Whether playback is currently in progress. /// bool Playing { get; } /// /// Whether playback should repeat. /// bool Looping { get; set; } } }