diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-25 15:15:20 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-25 15:16:12 +0900 |
| commit | cfeb7818eb3d7f3e83492bab092adce8f90f83c1 (patch) | |
| tree | 19cd7154d81984fdae869bbc802b186d8cf7751d /internal/pipewire/header_test.go | |
| parent | 05391da5562db46d379f81145b461a0a4ad10c8d (diff) | |
internal/pipewire: implement Core::Info and generation footer
These are not directly related but are first encountered on the same message in the capture.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pipewire/header_test.go')
| -rw-r--r-- | internal/pipewire/header_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/pipewire/header_test.go b/internal/pipewire/header_test.go index d7ca468b..fb13be14 100644 --- a/internal/pipewire/header_test.go +++ b/internal/pipewire/header_test.go @@ -35,6 +35,12 @@ func TestHeader(t *testing.T) { Size: 0x28, Sequence: 3, FileCount: 0, }, nil}, + {"PW_CORE_EVENT_INFO", []byte(recvmsg00Message00Header), pipewire.Header{ + ID: pipewire.PW_ID_CORE, + Opcode: pipewire.PW_CORE_EVENT_INFO, + Size: 0x6b8, Sequence: 0, FileCount: 0, + }, nil}, + {"PW_SECURITY_CONTEXT_METHOD_CREATE", []byte{ // Id 3, 0, 0, 0, |
