diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-28 01:33:32 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-28 01:33:32 +0900 |
| commit | cbe86dc4f02bc43d00fd362692a123549ad48efc (patch) | |
| tree | feefe80326a6e39318933950b8939ad5c36520a3 /internal/pipewire/core_test.go | |
| parent | d08a1081bd8131a2708f4cb934f060760371d114 (diff) | |
internal/pipewire: add json struct tags
These match the names found in documentation.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pipewire/core_test.go')
| -rw-r--r-- | internal/pipewire/core_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/pipewire/core_test.go b/internal/pipewire/core_test.go index 05f19ebd..9cfc5712 100644 --- a/internal/pipewire/core_test.go +++ b/internal/pipewire/core_test.go @@ -34,7 +34,7 @@ func TestCoreInfo(t *testing.T) { Version: "1.4.7", Name: "pipewire-0", ChangeMask: pipewire.PW_CORE_CHANGE_MASK_PROPS, - Props: &pipewire.SPADict{ + Properties: &pipewire.SPADict{ {Key: "config.name", Value: "pipewire.conf"}, {Key: "application.name", Value: "pipewire"}, {Key: "application.process.binary", Value: "pipewire"}, @@ -88,7 +88,7 @@ func TestCoreBoundProps(t *testing.T) { {"sample", samplePWContainer[1][1][1], pipewire.CoreBoundProps{ ID: pipewire.PW_ID_CLIENT, GlobalID: 34, - Props: &pipewire.SPADict{ + Properties: &pipewire.SPADict{ {Key: "object.serial", Value: "34"}, {Key: "module.id", Value: "2"}, {Key: "pipewire.protocol", Value: "protocol-native"}, |
