using ComLight;
namespace Whisper
{
/// Audio stream reader object
/// The implementation is forward-only, and these objects aren’t reusable.
/// To read an audio file multiple time, dispose this object, and create a new one from the same source file.
[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
{
}
}