From 8a1b4ec398e25ecc15596f830f757d8419728296 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Mon, 16 Jan 2023 20:50:27 +0100 Subject: Minor, documentation --- Examples/MicrophoneCS/Readme.txt | 1 + Examples/TranscribeCS/Readme.txt | 1 + Examples/WhisperDesktop/Readme.txt | 3 +++ Examples/WhisperDesktop/WhisperDesktop.vcxproj | 3 +++ Examples/WhisperDesktop/WhisperDesktop.vcxproj.filters | 3 +++ Examples/main/Readme.txt | 3 +++ Examples/main/main.vcxproj | 3 +++ Examples/main/main.vcxproj.filters | 3 +++ Tools/CompressShaders/Cabinet.cs | 1 + 9 files changed, 21 insertions(+) create mode 100644 Examples/MicrophoneCS/Readme.txt create mode 100644 Examples/TranscribeCS/Readme.txt create mode 100644 Examples/WhisperDesktop/Readme.txt create mode 100644 Examples/main/Readme.txt diff --git a/Examples/MicrophoneCS/Readme.txt b/Examples/MicrophoneCS/Readme.txt new file mode 100644 index 0000000..a531fc0 --- /dev/null +++ b/Examples/MicrophoneCS/Readme.txt @@ -0,0 +1 @@ +This example builds .NET 6 console application which shows how to use audio capture API of the .NET wrapper. \ No newline at end of file diff --git a/Examples/TranscribeCS/Readme.txt b/Examples/TranscribeCS/Readme.txt new file mode 100644 index 0000000..caf97c3 --- /dev/null +++ b/Examples/TranscribeCS/Readme.txt @@ -0,0 +1 @@ +This example builds .NET 6 console application which shows how to transcribe or translate audio files with the .NET wrapper. \ No newline at end of file diff --git a/Examples/WhisperDesktop/Readme.txt b/Examples/WhisperDesktop/Readme.txt new file mode 100644 index 0000000..9900923 --- /dev/null +++ b/Examples/WhisperDesktop/Readme.txt @@ -0,0 +1,3 @@ +This example shows how to consume the DLL from a C++ GUI application. + +The GUI is implemented with ATL and WTL libraries. \ No newline at end of file diff --git a/Examples/WhisperDesktop/WhisperDesktop.vcxproj b/Examples/WhisperDesktop/WhisperDesktop.vcxproj index 4956410..db6d529 100644 --- a/Examples/WhisperDesktop/WhisperDesktop.vcxproj +++ b/Examples/WhisperDesktop/WhisperDesktop.vcxproj @@ -145,6 +145,9 @@ {701df8c8-e4a5-43ec-9c6b-747bbf4d8e71} + + + diff --git a/Examples/WhisperDesktop/WhisperDesktop.vcxproj.filters b/Examples/WhisperDesktop/WhisperDesktop.vcxproj.filters index 7a36c86..09bb5f1 100644 --- a/Examples/WhisperDesktop/WhisperDesktop.vcxproj.filters +++ b/Examples/WhisperDesktop/WhisperDesktop.vcxproj.filters @@ -139,4 +139,7 @@ + + + \ No newline at end of file diff --git a/Examples/main/Readme.txt b/Examples/main/Readme.txt new file mode 100644 index 0000000..0810326 --- /dev/null +++ b/Examples/main/Readme.txt @@ -0,0 +1,3 @@ +This example shows how to consume the DLL from a C++ console application. + +The command-line interface matches the corresponding example from whisper.cpp project. \ No newline at end of file diff --git a/Examples/main/main.vcxproj b/Examples/main/main.vcxproj index 4945b88..ba1e191 100644 --- a/Examples/main/main.vcxproj +++ b/Examples/main/main.vcxproj @@ -87,6 +87,9 @@ {701df8c8-e4a5-43ec-9c6b-747bbf4d8e71} + + + diff --git a/Examples/main/main.vcxproj.filters b/Examples/main/main.vcxproj.filters index 94cd8a1..2a4739f 100644 --- a/Examples/main/main.vcxproj.filters +++ b/Examples/main/main.vcxproj.filters @@ -9,4 +9,7 @@ + + + \ No newline at end of file diff --git a/Tools/CompressShaders/Cabinet.cs b/Tools/CompressShaders/Cabinet.cs index b53fd18..313dddb 100644 --- a/Tools/CompressShaders/Cabinet.cs +++ b/Tools/CompressShaders/Cabinet.cs @@ -5,6 +5,7 @@ namespace CompressShaders { /// Lossless data compressor implemented by Cabinet.dll Windows component /// + /// That compression API was introduced in Windows 8.0, and is the only reason why the library won’t build for Windows 7 OS. /// Whisper.dll consumes that component in runtime, to decompress these shader binaries /// If you wonder why not gzip — because the OS doesn’t include an API for that, at least not an API usable from C or C++.
/// .NET standard library includes gzip algorithm, but we don't want Whisper.dll to depend on .NET.
-- cgit v1.2.3