namespace Bmp.Core.FFMpeg.CsCorePorts; /// /// Defines a generic base for all readable audio streams. /// /// The type of the provided audio data. public interface IReadableAudioSource : IAudioSource { /// /// Reads a sequence of elements from the and advances the position within the /// stream by the /// number of elements read. /// /// /// An array of elements. When this method returns, the contains the specified /// array of elements with the values between and ( + /// - 1) replaced by the elements read from the current source. /// /// /// The zero-based offset in the at which to begin storing the data /// read from the current stream. /// /// The maximum number of elements to read from the current source. /// The total number of elements read into the buffer. int Read(T[] buffer, int offset, int count); }