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:
@@ -99,6 +99,7 @@ private:
|
||||
bool haveCachedSignalStatus = false;
|
||||
QString lastLoggedInputStatus;
|
||||
#if GVFG_INTERNAL_DIAGNOSTICS
|
||||
uint64_t audioReceivedFrames = 0;
|
||||
uint64_t lastDebugDmaErrors = 0;
|
||||
bool haveDebugBaseline = false;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user