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:
@@ -144,7 +144,7 @@ Audio 採用相同的 pull 與 ownership 模型:
|
||||
可用 `gvfg_strerror()` 取得靜態英文說明字串;呼叫端不可釋放該字串。
|
||||
|
||||
可用 `gvfg_get_version()` 查詢目前實際載入的 `gvfg.dll` 版本。回傳值為
|
||||
靜態字串,例如 `"0.2.0"`,呼叫端不可釋放。
|
||||
靜態字串,例如 `"0.2.1"`,呼叫端不可釋放。
|
||||
需要記錄最近一次失敗的詳細原因時,可在 API 失敗後立即呼叫
|
||||
`gvfg_get_channel_last_error_detail()`;driver/register 等內部診斷仍保留在 debug API。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user