yum-archive/TaSTT-Whisper
High-performance GPGPU inference of OpenAI's Whisper automatic speech recognition (ASR) model
git clone https://git.yummers.dev/yum-archive/TaSTT-Whisper
6238fc3
master
1using ComLight ; 2 3namespace Whisper 4{ 5/// <summary>Audio stream reader object</summary> 6/// <remarks>The implementation is forward-only, and these objects aren’t reusable.<br/> 7/// To read an audio file multiple time, dispose this object, and create a new one from the same source file.</remarks> 8[ ComInterface ( "35b988da-04a6-476a-a193-d8891d5dc390" , eMarshalDirection . ToManaged )] 9public interface iAudioReader : IDisposable 10{ 11/// <summary>Get duration of the media file</summary> 12[ RetValIndex ] 13TimeSpan getDuration (); 14} 15 16/// <summary>Audio capture reader object</summary> 17/// <remarks>This interface has no public methods callable from C#.<br/> 18/// It’s only here to pass data between different functions implemented in C++.</remarks> 19[ ComInterface ( "747752c2-d9fd-40df-8847-583c781bf013" , eMarshalDirection . ToManaged )] 20public interface iAudioCapture : IDisposable 21{ 22} 23}