using ComLight; namespace Whisper { /// Audio stream reader object /// The implementation is forward-only, and these objects ain’t reusable.
/// To read a source file multiple time, dispose and re-create the reader.
[ComInterface( "35b988da-04a6-476a-a193-d8891d5dc390", eMarshalDirection.ToManaged )] public interface iAudioReader: IDisposable { /// Get duration of the media file [RetValIndex] TimeSpan getDuration(); } /// Audio capture reader object /// This interface has no public methods callable from C#.
/// It’s only here to pass data between different functions implemented in C++.
[ComInterface( "747752c2-d9fd-40df-8847-583c781bf013", eMarshalDirection.ToManaged )] public interface iAudioCapture: IDisposable { } }