Update cheatsheets

This commit is contained in:
ivuorinen
2026-03-15 00:31:34 +00:00
parent 50c313e473
commit bac2b335ce
2 changed files with 32 additions and 1 deletions

30
tldr/linux/spa-resample Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# spa-resample
> Resample an audio file using the PipeWire resampler.
> Note: This utility is primarily intended for testing and debugging the resampler.
> More information: <https://docs.pipewire.org/page_man_spa-resample_1.html>.
- Resample an audio file:
`spa-resample {{path/to/input.wav}} {{path/to/output.wav}}`
- Resample an audio file to a specific sample rate:
`spa-resample {{[-r|--rate]}} {{48000}} {{path/to/input.wav}} {{path/to/output.wav}}`
- Resample an audio file to a specific format:
`spa-resample {{[-f|--format]}} {{s8|s16|s32|f32|f64}} {{path/to/input.wav}} {{path/to/output.wav}}`
- Resample an audio file with a specific quality (0 is lowest, 14 is highest):
`spa-resample {{[-q|--quality]}} {{0..14}} {{path/to/input.wav}} {{path/to/output.wav}}`
- Display help:
`spa-resample -h`

View File

@@ -6,13 +6,14 @@ source: https://github.com/tldr-pages/tldr.git
# steamos-session-select
> Manipulate which session is currently in use.
> Note: This command is deprecated, use `steamosctl` instead.
> More information: <https://gitlab.com/users/evlaV/projects>.
- Change to desktop mode:
`steamos-session-select plasma`
- Change to gamemode (sets the system to boot into gamemode if `-persistent` options were selected previously):
- Change to gamemode (sets the system to boot into gamemode if `-persistent` arguments were selected previously):
`steamos-session-select`