diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-25 08:34:19 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-25 08:34:19 +0900 |
| commit | 591637264a76771d36531a3e51e7db40ef853421 (patch) | |
| tree | 65841f27922657c3bcca1fe23aec49dcae997ed6 /internal/pipewire/header_test.go | |
| parent | e77652bf89bf1f1e55174cd61a745cf13ca31e48 (diff) | |
internal/pipewire: implement Core::GetRegistry
This struct is entirely supported, so this change is very straightforward.
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 95f6ce13..2d055088 100644 --- a/internal/pipewire/header_test.go +++ b/internal/pipewire/header_test.go @@ -23,6 +23,12 @@ func TestHeader(t *testing.T) { Size: 0x600, Sequence: 1, FileCount: 0, }, nil}, + {"PW_CORE_METHOD_GET_REGISTRY", []byte(sendmsg00Message02Header), pipewire.Header{ + ID: pipewire.PW_ID_CORE, + Opcode: pipewire.PW_CORE_METHOD_GET_REGISTRY, + Size: 0x28, Sequence: 2, FileCount: 0, + }, nil}, + {"PW_SECURITY_CONTEXT_METHOD_CREATE", []byte{ // Id 3, 0, 0, 0, |
