| 1 |
context.modules = [ |
| 2 |
{ name = libpipewire-module-protocol-native } |
| 3 |
{ name = libpipewire-module-metadata } |
| 4 |
] |
| 5 |
|
| 6 |
wireplumber.settings.schema = { |
| 7 |
test-setting-bool = { |
| 8 |
name = "test-setting-bool name" |
| 9 |
description = "test-setting-bool description" |
| 10 |
type = "bool" |
| 11 |
default = false |
| 12 |
} |
| 13 |
test-setting-int = { |
| 14 |
name = "test-setting-int name" |
| 15 |
description = "test-setting-int description" |
| 16 |
type = "int" |
| 17 |
default = 0 |
| 18 |
min = -100 |
| 19 |
max = 100 |
| 20 |
} |
| 21 |
test-setting-float = { |
| 22 |
name = "test-setting-float name" |
| 23 |
description = "test-setting-float description" |
| 24 |
type = "float" |
| 25 |
default = 0.0 |
| 26 |
min = -100.0 |
| 27 |
max = 100.0 |
| 28 |
} |
| 29 |
test-setting-string = { |
| 30 |
name = "test-setting-string name" |
| 31 |
description = "test-setting-string description" |
| 32 |
type = "string" |
| 33 |
default = "default" |
| 34 |
} |
| 35 |
test-setting-string2 = { |
| 36 |
name = "test-setting-string2 name" |
| 37 |
description = "test-setting-string2 description" |
| 38 |
type = "string" |
| 39 |
default = "default" |
| 40 |
} |
| 41 |
test-setting-array = { |
| 42 |
name = "test-setting-array name" |
| 43 |
description = "test-setting-array description" |
| 44 |
type = "array" |
| 45 |
default = [] |
| 46 |
} |
| 47 |
test-setting-array2 = { |
| 48 |
name = "test-setting-array2 name" |
| 49 |
description = "test-setting-array2 description" |
| 50 |
type = "array" |
| 51 |
default = [] |
| 52 |
} |
| 53 |
test-setting-object = { |
| 54 |
name = "test-setting-object name" |
| 55 |
description = "test-setting-object description" |
| 56 |
type = "object" |
| 57 |
default = {} |
| 58 |
} |
| 59 |
test-setting-no-name = { |
| 60 |
# optional name field omitted |
| 61 |
description = "test-setting-no-name description" |
| 62 |
type = "bool" |
| 63 |
default = false |
| 64 |
} |
| 65 |
} |
| 66 |
|
| 67 |
wireplumber.settings = { |
| 68 |
test-setting-bool = true |
| 69 |
test-setting-int = -20 |
| 70 |
test-setting-float = 3.14 |
| 71 |
test-setting-string = "blahblah" |
| 72 |
test-setting-string2 = "a string with \"quotes\"" |
| 73 |
test-setting-array = [1, 2, 3] |
| 74 |
test-setting-array2 = ["test1", "test 2", "test three", "test-four"] |
| 75 |
test-setting-object = { key1: "value", key2: 2, key3: true } |
| 76 |
} |