diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-25 08:52:06 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-25 08:52:06 +0900 |
| commit | fc3d78fe010f9e3c22a058723bf816570553c0da (patch) | |
| tree | 3b618c0e5aa1501f9ff9182fdf2c2ceb12f6d34c /internal/pipewire/header_test.go | |
| parent | 591637264a76771d36531a3e51e7db40ef853421 (diff) | |
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 <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 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, |
