namespace Bmp.Core.FFMpeg.CsCorePorts;
///
/// Defines the base for all audio streams.
///
public interface IAudioSource : IDisposable
{
///
/// Gets a value indicating whether the supports seeking.
///
bool CanSeek { get; }
///
/// Gets the of the waveform-audio data.
///
WaveFormat WaveFormat { get; }
///
/// Gets or sets the current position. The unit of this property depends on the implementation of this interface. Some
/// implementations may not support this property.
///
long Position { get; set; }
///
/// Gets the length of the waveform-audio data. The unit of this property depends on the implementation of this
/// interface. Some implementations may not support this property.
///
long Length { get; }
}