Match the GigabyteLib event model

Compared with 82933f8:

- remove the public event-mask setter, getter, mask type, exports, and per-channel mask state

- always register and forward the complete event set created by GvfgCreateEvents

- keep audio enablement as the only event-creation choice exposed to applications

- preserve event polling, signal recovery, format notifications, capture, format switching, zero-copy, and register access

- update customer and architecture documentation to remove the obsolete event-mask controls
This commit is contained in:
Mark.lin
2026-09-14 12:16:53 +08:00
parent 82933f8967
commit 2a3ad7aa6d
9 changed files with 7 additions and 115 deletions
-7
View File
@@ -120,11 +120,6 @@ struct gvfg_handle_t
2
> channels;
std::array<uint32_t, 2> eventMasks{
GVFG_EVENT_MASK_ALL,
GVFG_EVENT_MASK_ALL
};
int currentIndex = -1;
std::array<bool, 2> zeroCopyRequested{false, false};
};
@@ -212,8 +207,6 @@ struct gvfg_channel_session_t
int currentIndex;
uint32_t selectedChannel;
bool zeroCopyRequested;
uint32_t eventMask;
std::atomic<bool> running;
bool readInProgress;
bool frameHeld;