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

KonstantinSource codes8c4603c

master
987 B34 linesraw
1namespace Whisper
2{
3	/// <summary>Message log level</summary>
4	public enum eLogLevel: byte
5	{
6		/// <summary>Error message</summary>
7		Error = 0,
8		/// <summary>Warning message</summary>
9		Warning = 1,
10		/// <summary>Informational message</summary>
11		Info = 2,
12		/// <summary>Debug message</summary>
13		Debug = 3
14	}
15
16	/// <summary>A delegate to receive log messages from the library</summary>
17	public delegate void pfnLogMessage( eLogLevel level, string message );
18
19	/// <summary>Log destination flags</summary>
20	[Flags]
21	public enum eLoggerFlags: byte
22	{
23		/// <summary>No special flags</summary>
24		None = 0,
25
26		/// <summary>In addition to calling the delegate, print messaged to standard error</summary>
27		UseStandardError = 1,
28
29		/// <summary>Don’t format error codes into messages</summary>
30		/// <remarks>It’s recommended to use this flag in .NET.<br/>
31		/// The standard library already formats these messages automatically, as needed.</remarks>
32		SkipFormatMessage = 2,
33	}
34}