forked from security/hakurei
internal/pipewire: seq access method for consume
This improves readability as the offset is not immediately obvious. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -78,7 +78,7 @@ func TestContext(t *testing.T) {
|
||||
}
|
||||
|
||||
wantCoreInfo0 := pipewire.CoreInfo{
|
||||
ID: 0,
|
||||
ID: pipewire.PW_ID_CORE,
|
||||
Cookie: -2069267610,
|
||||
UserName: "alice",
|
||||
HostName: "nixos",
|
||||
@@ -116,7 +116,8 @@ func TestContext(t *testing.T) {
|
||||
{Key: "settings.check-quantum", Value: "false"},
|
||||
{Key: "settings.check-rate", Value: "false"},
|
||||
{Key: pipewire.PW_KEY_OBJECT_ID, Value: "0"},
|
||||
{Key: pipewire.PW_KEY_OBJECT_SERIAL, Value: "0"}},
|
||||
{Key: pipewire.PW_KEY_OBJECT_SERIAL, Value: "0"},
|
||||
},
|
||||
}
|
||||
|
||||
wantClient0 := pipewire.Client{
|
||||
|
||||
Reference in New Issue
Block a user