using System; using System.Collections.Generic; using System.Text; namespace NAudio.Wave { /// /// Interface for MP3 frame by frame decoder /// public interface IMp3FrameDecompressor : IDisposable { /// /// Decompress a single MP3 frame /// /// Frame to decompress /// Output buffer /// Offset within output buffer /// Bytes written to output buffer int DecompressFrame(Mp3Frame frame, byte[] dest, int destOffset); /// /// Tell the decoder that we have repositioned /// void Reset(); /// /// PCM format that we are converting into /// WaveFormat OutputFormat { get; } } }