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
ad097a7
master
1#pragma once 2 3namespace Whisper 4{ 5using pfnLoadProgress = HRESULT (__stdcall * )( double val, void * pv ) noexcept; 6// Return S_OK to continue, or S_FALSE to fail with "The operation was canceled by the user" status code 7using pfnCancel = HRESULT ( __stdcall * )( void * pv ) noexcept; 89 struct sLoadModelCallbacks 10{ 11pfnLoadProgress progress ; 12pfnCancel cancel ; 13void * pv ; 14 }; 15}