version: derive from git tag/commit hash; drop audio playback debug logs

Version is no longer hardcoded: at configure time CMake uses the tag
name when HEAD is exactly on a tag (leading "v" stripped), otherwise
the first 8 hex digits of the commit hash. When git is unavailable
(e.g. source tarball) it falls back to the contents of version.txt,
which is now the single place to bump the release version.

Also remove the temporary qDebug() flood in the audio playback path
(ViewerWidget::QueueNextAudioBuffer / ReceivedAudioBufferForPlayback,
AudioManager::PushToOutput).
This commit is contained in:
2026-07-17 21:10:13 +08:00
parent 016341ea7c
commit 6229381426
4 changed files with 28 additions and 26 deletions
+1
View File
@@ -0,0 +1 @@
0.4.2-alpha