diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-26 19:02:21 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-26 19:02:21 +0900 |
| commit | 2698ca00e8fad5f7243c1e1b4c078d322854917c (patch) | |
| tree | d9d46ca19010fcec16c4e41bc2418184bd54ba6b /internal/pipewire/header_test.go | |
| parent | 1d0143386de410b19a0e4adea497f7e246e89226 (diff) | |
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 <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 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, |
