about summary refs log tree commit diff
path: root/nixos/modules/services/desktops/pipewire/daemon/pipewire-pulse.conf.json
blob: b1a864853325c37c1ddba60da9fa023357e3c524 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
  "context.properties": {},
  "context.spa-libs": {
    "audio.convert.*": "audioconvert/libspa-audioconvert",
    "support.*": "support/libspa-support"
  },
  "context.modules": [
    {
      "name": "libpipewire-module-rt",
      "args": {
        "nice.level": -11
      },
      "flags": [
        "ifexists",
        "nofail"
      ]
    },
    {
      "name": "libpipewire-module-protocol-native"
    },
    {
      "name": "libpipewire-module-client-node"
    },
    {
      "name": "libpipewire-module-adapter"
    },
    {
      "name": "libpipewire-module-metadata"
    },
    {
      "name": "libpipewire-module-protocol-pulse",
      "args": {}
    }
  ],
  "context.exec": [],
  "pulse.cmd": [
    {
      "cmd": "load-module",
      "args": "module-always-sink",
      "flags": []
    }
  ],
  "stream.properties": {},
  "pulse.properties": {
    "server.address": [
      "unix:native"
    ],
    "vm.overrides": {
      "pulse.min.quantum": "1024/48000"
    }
  },
  "pulse.rules": [
    {
      "matches": [
        {}
      ],
      "actions": {
        "update-props": {}
      }
    },
    {
      "matches": [
        {
          "application.process.binary": "teams"
        },
        {
          "application.process.binary": "teams-insiders"
        },
        {
          "application.process.binary": "skypeforlinux"
        }
      ],
      "actions": {
        "quirks": [
          "force-s16-info"
        ]
      }
    },
    {
      "matches": [
        {
          "application.process.binary": "firefox"
        }
      ],
      "actions": {
        "quirks": [
          "remove-capture-dont-move"
        ]
      }
    },
    {
      "matches": [
        {
          "application.name": "~speech-dispatcher.*"
        }
      ],
      "actions": {
        "update-props": {
          "pulse.min.req": "512/48000",
          "pulse.min.quantum": "512/48000",
          "pulse.idle.timeout": 5
        }
      }
    }
  ]
}