internal/pipewire: implement Core::GetRegistry

This struct is entirely supported, so this change is very straightforward.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-11-25 08:34:19 +09:00
parent e77652bf89
commit 591637264a
6 changed files with 50 additions and 2 deletions

View File

@@ -13,3 +13,12 @@ func TestCoreHello(t *testing.T) {
}, nil},
}.run(t)
}
func TestCoreGetRegistry(t *testing.T) {
encodingTestCases[pipewire.CoreGetRegistry, *pipewire.CoreGetRegistry]{
{"sample", []byte(sendmsg00Message02POD), pipewire.CoreGetRegistry{
Version: pipewire.PW_VERSION_REGISTRY,
NewID: 2,
}, nil},
}.run(t)
}