summary refs log tree commit diff
path: root/nixos/modules/services/desktops/pipewire/daemon/pipewire-pulse.conf.json
blob: df0f62556dff62674d4a6a0d22d67047acf3ea36 (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
{
  "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": {
        "server.address": [
          "unix:native"
        ],
        "vm.overrides": {
          "pulse.min.quantum": "1024/48000"
        }
      }
    }
  ],
  "context.exec": [
    {
      "path": "pactl",
      "args": "load-module module-always-sink"
    }
  ],
  "stream.properties": {},
  "pulse.rules": [
    {
      "matches": [
        {}
      ],
      "actions": {
        "update-props": {}
      }
    },
    {
      "matches": [
        {
          "application.process.binary": "teams"
        },
        {
          "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": "1024/48000",
          "pulse.min.quantum": "1024/48000"
        }
      }
    }
  ]
}