diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-26 16:27:46 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-26 16:28:57 +0900 |
| commit | a55c209099c96101288350043817c5dc50fdb158 (patch) | |
| tree | ca5fa33a801a5991f8e21416bc28e4b372518938 /internal/pipewire/header_test.go | |
| parent | 10ff276da187868be1fa136ffd41ee2904c2cea8 (diff) | |
internal/pipewire: additional Client::Info test case
This appears to add *one single entry* compared to the message before it. The inefficiency of this protocol is beyond imagination.
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 20f7ded3..56f51c85 100644 --- a/internal/pipewire/header_test.go +++ b/internal/pipewire/header_test.go @@ -59,6 +59,12 @@ func TestHeader(t *testing.T) { Size: 0x7a0, Sequence: 3, FileCount: 0, }, nil}, + {"PW_CLIENT_EVENT_INFO**", []byte(recvmsg00Message04Header), pipewire.Header{ + ID: pipewire.PW_ID_CLIENT, + Opcode: pipewire.PW_CLIENT_EVENT_INFO, + Size: 0x7d0, Sequence: 4, FileCount: 0, + }, nil}, + {"PW_SECURITY_CONTEXT_METHOD_CREATE", []byte{ // Id 3, 0, 0, 0, |
