Loading...
Searching...
No Matches
ear_session_snapshot Struct Reference
Statically reserved sample buffer with a single active or detached owner. More...
Collaboration diagram for ear_session_snapshot:

Data Fields | |
| struct ear_sample | samples [EAR_MAX_SAMPLES] |
| size_t | count |
| atomic_bool | owned |
Detailed Description
Statically reserved sample buffer with a single active or detached owner.
Count is finalized before handoff. Atomic ownership lets the worker release storage without racing serial-owner admission. Detached contents need no lock because the producer and active session must not modify them.
Definition at line 187 of file ear_cam_pipe.c.
Field Documentation
◆ count
| size_t ear_session_snapshot::count |
Definition at line 189 of file ear_cam_pipe.c.
◆ owned
| atomic_bool ear_session_snapshot::owned |
Definition at line 190 of file ear_cam_pipe.c.
◆ samples
| struct ear_sample ear_session_snapshot::samples[EAR_MAX_SAMPLES] |
Definition at line 188 of file ear_cam_pipe.c.
The documentation for this struct was generated from the following file:
- src/ear_cam_pipe.c