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
8c4603c
master
1using System . Runtime . InteropServices ; 2 3namespace Whisper . Internal 4{ 5[ UnmanagedFunctionPointer ( CallingConvention . StdCall )] 6delegate void pfnLoggerSink ( IntPtr context , eLogLevel lvl , [ MarshalAs ( UnmanagedType . LPUTF8Str )] string message ); 7 8struct sLoggerSetup 9{ 10[ MarshalAs ( UnmanagedType . FunctionPtr )] 11public pfnLoggerSink sink ; 12IntPtr context ; 13public eLogLevel level ; 14public eLoggerFlags flags ; 15} 16}