Release SDK 0.2.1 with unplug-safe zero-copy handling
Compared with SDK 0.2.0 (3cd7fbbb):
- Handle the zero-copy release race where the driver clears frame ownership before the SDK receives the unplug event. Wait up to 100 ms only after ERROR_BAD_COMMAND, accept the release as revoked only after a confirmed disconnect, and preserve all other release failures.
- Apply the same confirmed-unplug handling to normal frame release and pending-frame teardown without adding latency to successful per-frame releases.
- Add Debug-only audio event, frame, and byte counters across the Driver-to-SDK, SDK-to-APP, and APP-to-output boundaries, and show the concise totals in the internal diagnostic sample.
- Rename Release and Debug customer packages to the requested GVFG_Sample labels, use minute-resolution timestamps, and derive the package suffix from the root CMake project version.
- Bump the standalone SDK version to 0.2.1 and synchronize the public API examples and internal build guide.
Validation: git diff --check and focused source/diff inspection passed. No build, package generation, runtime capture, unplug stress test, or hardware validation was run.
This commit is contained in:
@@ -41,13 +41,13 @@
|
||||
版本只有一個來源:根目錄 `CMakeLists.txt` 的 `project()`:
|
||||
|
||||
```cmake
|
||||
project(gvfg_standalone VERSION 0.2.0 LANGUAGES CXX)
|
||||
project(gvfg_standalone VERSION 0.2.1 LANGUAGES CXX)
|
||||
```
|
||||
|
||||
例如準備 `0.2.0` 時改成:
|
||||
例如準備 `0.2.1` 時改成:
|
||||
|
||||
```cmake
|
||||
project(gvfg_standalone VERSION 0.2.0 LANGUAGES CXX)
|
||||
project(gvfg_standalone VERSION 0.2.1 LANGUAGES CXX)
|
||||
```
|
||||
|
||||
`sdk/gvfg` 會直接繼承根 project version,並將它編入 `gvfg.dll`。不再存在 `GVFG_SDK_VERSION` cache option,也不應使用 `-DGVFG_SDK_VERSION=...` 覆寫。修改版本後要重新 configure,再重新建置 DLL。
|
||||
|
||||
Reference in New Issue
Block a user