whisper: use whispercpp to avoid glitches
Change-Id: I3def6db3eed39b1e9a5feb2d8f4b664de60bd1d2
diff --git a/WhisperTranscript/whispercpp/project.patch b/WhisperTranscript/whispercpp/project.patch
new file mode 100644
index 0000000..f3130e9
--- /dev/null
+++ b/WhisperTranscript/whispercpp/project.patch
@@ -0,0 +1,97 @@
+---
+ whisper.vcxproj | 83 +++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 83 insertions(+)
+ create mode 100644 whisper.vcxproj
+
+diff --git a/whisper.vcxproj b/whisper.vcxproj
+new file mode 100644
+index 0000000..9cbfdb7
+--- /dev/null
++++ b/whisper.vcxproj
+@@ -0,0 +1,83 @@
++<?xml version="1.0" encoding="utf-8"?>
++<Project DefaultTargets="Build" ToolsVersion="17.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
++ <PropertyGroup>
++ <PreferredToolArchitecture>x64</PreferredToolArchitecture>
++ </PropertyGroup>
++ <ItemGroup Label="ProjectConfigurations">
++ <ProjectConfiguration Include="Release|x64">
++ <Configuration>Release</Configuration>
++ <Platform>x64</Platform>
++ </ProjectConfiguration>
++ </ItemGroup>
++ <PropertyGroup Label="Globals">
++ <ProjectGuid>{47B512DE-EE88-3A32-A01F-DF4317B53175}</ProjectGuid>
++ <Keyword>Win32Proj</Keyword>
++ <WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
++ <Platform>x64</Platform>
++ <ProjectName>whisper</ProjectName>
++ <VCProjectUpgraderObjectName>NoUpgrade</VCProjectUpgraderObjectName>
++ </PropertyGroup>
++ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
++ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
++ <ConfigurationType>StaticLibrary</ConfigurationType>
++ <CharacterSet>MultiByte</CharacterSet>
++ <PlatformToolset>v143</PlatformToolset>
++ </PropertyGroup>
++ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
++ <ImportGroup Label="ExtensionSettings">
++ </ImportGroup>
++ <ImportGroup Label="PropertySheets">
++ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
++ </ImportGroup>
++ <PropertyGroup Label="UserMacros" />
++ <PropertyGroup>
++ <_ProjectFileVersion>10.0.18362.0</_ProjectFileVersion>
++ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)..\..\msvc\lib\$(Platform)\</OutDir>
++ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">whisper.dir\Release\</IntDir>
++ <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">whisper</TargetName>
++ <TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.lib</TargetExt>
++ </PropertyGroup>
++ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
++ <ClCompile>
++ <AdditionalIncludeDirectories>$(ProjectDir).;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
++ <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
++ <EnableEnhancedInstructionSet>AdvancedVectorExtensions2</EnableEnhancedInstructionSet>
++ <ExceptionHandling>Sync</ExceptionHandling>
++ <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
++ <Optimization>MaxSpeed</Optimization>
++ <PrecompiledHeader>NotUsing</PrecompiledHeader>
++ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
++ <RuntimeTypeInfo>true</RuntimeTypeInfo>
++ <UseFullPaths>false</UseFullPaths>
++ <WarningLevel>Level3</WarningLevel>
++ <PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;_CRT_SECURE_NO_WARNINGS;CMAKE_INTDIR="Release"</PreprocessorDefinitions>
++ <ObjectFileName>$(IntDir)</ObjectFileName>
++ <DebugInformationFormat>
++ </DebugInformationFormat>
++ </ClCompile>
++ <ResourceCompile>
++ <PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;_CRT_SECURE_NO_WARNINGS;CMAKE_INTDIR=\"Release\"</PreprocessorDefinitions>
++ <AdditionalIncludeDirectories>$(ProjectDir).;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
++ </ResourceCompile>
++ <Midl>
++ <AdditionalIncludeDirectories>$(ProjectDir).;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
++ <OutputDirectory>$(ProjectDir)/$(IntDir)</OutputDirectory>
++ <HeaderFileName>%(Filename).h</HeaderFileName>
++ <TypeLibraryName>%(Filename).tlb</TypeLibraryName>
++ <InterfaceIdentifierFileName>%(Filename)_i.c</InterfaceIdentifierFileName>
++ <ProxyFileName>%(Filename)_p.c</ProxyFileName>
++ </Midl>
++ <Lib>
++ <AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions>
++ </Lib>
++ </ItemDefinitionGroup>
++ <ItemGroup>
++ <ClInclude Include="ggml.h" />
++ <ClCompile Include="ggml.c" />
++ <ClInclude Include="whisper.h" />
++ <ClCompile Include="whisper.cpp" />
++ </ItemGroup>
++ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
++ <ImportGroup Label="ExtensionTargets">
++ </ImportGroup>
++</Project>
+--
+2.37.1.windows.1
+