Files
Whisper/WhisperNet/API/iAudioReader.cs
T
2023-01-16 14:52:43 +01:00

23 lines
862 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using ComLight;
namespace Whisper
{
/// <summary>Audio stream reader object</summary>
/// <remarks>The implementation is forward-only, and these objects ain’t reusable.<br/>
/// To read a source file multiple time, dispose and re-create the reader.</remarks>
[ComInterface( "35b988da-04a6-476a-a193-d8891d5dc390", eMarshalDirection.ToManaged )]
public interface iAudioReader: IDisposable
{
/// <summary>Get duration of the media file</summary>
[RetValIndex]
TimeSpan getDuration();
}
/// <summary>Audio capture reader object</summary>
/// <remarks>This interface has no public methods callable from C#.<br/>
/// It’s only here to pass data between different functions implemented in C++.</remarks>
[ComInterface( "747752c2-d9fd-40df-8847-583c781bf013", eMarshalDirection.ToManaged )]
public interface iAudioCapture: IDisposable
{
}
}