From 2698ca00e8fad5f7243c1e1b4c078d322854917c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 26 Nov 2025 19:02:21 +0900 Subject: internal/pipewire: implement Core::Done The message in the sample does not correspond to any known method call. The spec does not mention what to do with messages like this, but all existing usage code simply drops it. 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 56f51c85..fba5d837 100644 --- a/internal/pipewire/header_test.go +++ b/internal/pipewire/header_test.go @@ -65,6 +65,12 @@ func TestHeader(t *testing.T) { Size: 0x7d0, Sequence: 4, FileCount: 0, }, nil}, + {"PW_CORE_EVENT_DONE", []byte(recvmsg00Message05Header), pipewire.Header{ + ID: pipewire.PW_ID_CORE, + Opcode: pipewire.PW_CORE_EVENT_DONE, + Size: 0x58, Sequence: 5, FileCount: 0, + }, nil}, + {"PW_SECURITY_CONTEXT_METHOD_CREATE", []byte{ // Id 3, 0, 0, 0, -- cgit v1.3.1