PipeWire: Difference between revisions
imported>Hcsch No edit summary |
imported>Hcsch mNo edit summary |
||
| Line 232: | Line 232: | ||
</syntaxHighlight> | </syntaxHighlight> | ||
If you're still using 23.11 or earlier, you can use <code>environment.etc</code> and <code>pkgs.formats.json</code> like in [[PipeWire|Advanced Configuration]]. | If you're still using 23.11 or earlier, you can use <code>environment.etc</code> and <code>pkgs.formats.json</code> like in [[PipeWire#Advanced_Configuration|Advanced Configuration]]. | ||
<strong>NOTE</strong>: Every setup is different, and a lot of factors determine your final latency, like CPU speed, RT/PREEMPTIVE kernels and soundcards supporting different audio formats. That's why 32/48000 isn't always a value that's going to work for everyone. The best way to get everything working is to keep increasing the quant value until you get no crackles (underruns) or until you get audio again (in case there wasn't any). This won't guarantee the lowest possible latency, but will provide a decent one paired with stable audio. | <strong>NOTE</strong>: Every setup is different, and a lot of factors determine your final latency, like CPU speed, RT/PREEMPTIVE kernels and soundcards supporting different audio formats. That's why 32/48000 isn't always a value that's going to work for everyone. The best way to get everything working is to keep increasing the quant value until you get no crackles (underruns) or until you get audio again (in case there wasn't any). This won't guarantee the lowest possible latency, but will provide a decent one paired with stable audio. | ||
| Line 259: | Line 259: | ||
}; | }; | ||
</syntaxHighlight> | </syntaxHighlight> | ||
If you're still using 23.11 or earlier, you can use <code>environment.etc</code> and <code>pkgs.formats.json</code> like in [[PipeWire|Advanced Configuration]]. | If you're still using 23.11 or earlier, you can use <code>environment.etc</code> and <code>pkgs.formats.json</code> like in [[PipeWire#Advanced_Configuration|Advanced Configuration]]. | ||
As a general rule, the values in <code>pipewire-pulse</code> should not be lower than the ones in <code>pipewire</code>. | As a general rule, the values in <code>pipewire-pulse</code> should not be lower than the ones in <code>pipewire</code>. | ||