From fc3d78fe010f9e3c22a058723bf816570553c0da Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 25 Nov 2025 08:52:06 +0900 Subject: internal/pipewire: implement Core::Sync Once again, already entirely supported, the offset is not yet fully verified but makes intuitive sense. Will verify this on future occurrences of the message. Signed-off-by: Ophestra --- internal/pipewire/header_test.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'internal/pipewire/header_test.go') diff --git a/internal/pipewire/header_test.go b/internal/pipewire/header_test.go index 2d055088..d7ca468b 100644 --- a/internal/pipewire/header_test.go +++ b/internal/pipewire/header_test.go @@ -29,6 +29,12 @@ func TestHeader(t *testing.T) { Size: 0x28, Sequence: 2, FileCount: 0, }, nil}, + {"PW_CORE_METHOD_SYNC", []byte(sendmsg00Message03Header), pipewire.Header{ + ID: pipewire.PW_ID_CORE, + Opcode: pipewire.PW_CORE_METHOD_SYNC, + Size: 0x28, Sequence: 3, FileCount: 0, + }, nil}, + {"PW_SECURITY_CONTEXT_METHOD_CREATE", []byte{ // Id 3, 0, 0, 0, -- cgit v1.3.1