whisper.cpp/examples
Daniel Bevenius 32cf4e2aba
whisper : add version function (#3289)
* whisper : add version function

This commit adds a version function to the whisper API.

The motivation for this is that it might be convenient to have a way to
programmatically check the version.

Example usage:
```c++
printf("Using whisper version: %s\n", whisper_version());
```
Will output:
```console
Using whisper version: 1.7.6
```

* examples : add version to android example CMakeLists.txt
2025-06-26 18:09:42 +02:00
..
addon.node node : add language detection support (#3190) 2025-06-02 14:58:05 +02:00
bench bench : print system info before ctx check 2025-06-25 16:01:32 +03:00
bench.wasm
cli cli : fix short name conflict for vad options [no ci] (#3247) 2025-06-13 10:25:25 +02:00
command stream : add nullptr check of whisper_context (#3283) 2025-06-25 14:16:31 +02:00
command.wasm
deprecation-warning
lsp whisper : remove whisper_load_backends function (#3196) 2025-05-29 08:03:17 +02:00
python
quantize whisper : remove whisper_load_backends function (#3196) 2025-05-29 08:03:17 +02:00
server examples : set the C++ standard to C++17 for server (#3261) 2025-06-17 11:29:48 +02:00
stream stream : add nullptr check of whisper_context (#3283) 2025-06-25 14:16:31 +02:00
stream.wasm
sycl
talk-llama talk-llama : sync llama.cpp 2025-06-21 07:34:17 +03:00
vad-speech-segments stream : add nullptr check of whisper_context (#3283) 2025-06-25 14:16:31 +02:00
wchess whisper : remove whisper_load_backends function (#3196) 2025-05-29 08:03:17 +02:00
whisper.android whisper : add version function (#3289) 2025-06-26 18:09:42 +02:00
whisper.android.java whisper : add version function (#3289) 2025-06-26 18:09:42 +02:00
whisper.nvim
whisper.objc
whisper.swiftui
whisper.wasm
CMakeLists.txt
coi-serviceworker.js
common-ggml.cpp
common-ggml.h
common-sdl.cpp
common-sdl.h
common-whisper.cpp examples : add stereo to mono conversion in read_audio_data (#3266) 2025-06-18 17:41:43 +02:00
common-whisper.h
common.cpp
common.h
ffmpeg-transcode.cpp
generate-karaoke.sh
grammar-parser.cpp
grammar-parser.h
helpers.js
json.hpp
livestream.sh
miniaudio.h
server.py
stb_vorbis.c
twitch.sh
yt-wsp.sh examples : update usage/help in yt-wsp.sh (#3251) 2025-06-16 12:21:16 +02:00