pw-reserve(1)
β¨ pw-reserve(1) β the PipeWire device reservation utility β¨
okay so real quick, before we get into it: this whole page is the man page for pw-reserve, bestie. That's the name, that's the manual, that's the vibe. Now let's go π
πΈ NAME πΈ
pw-reserve β the PipeWire device reservation utility. that's it, that's the whole name section π
π¦ SYNOPSIS π¦
pw-reserve [options]
literally just options. that's the whole synopsis, she's simple like that β¨
π DESCRIPTION π
okay so what does she do. pw-reserve reserves a device using the DBus org.freedesktop.ReserveDevice1 device reservation scheme [1], and then it just... sits there. waiting. waiting until it gets terminated by SIGINT or some other signal. main character energy honestly π
it can also ask other applications to release a device. which is genuinely so useful β you can use this to make audio servers like PipeWire, Pulseaudio, JACK, or any other application that respects the device reservation protocol ignore a device. or, even better, to make them release a sound device they're already using so that other applications can have it. sharing is caring, periodt π«Ά
β¨ OPTIONS β¨
-r,--releaseβ asks whatever client is currently holding the device to release it, and then tries to reserve it after that. but listen π if you don't pass this option and the device is already in use,pw-reservewill exit with error status. no negotiating, no waiting, just error. π-n NAME,--name=NAMEβ the name of the device you wanna reserve. by convention, this is:AudioN: for ALSA card number N
like, pw-reserve can technically reserve any device name, no cap. however β and this is the important bit β PipeWire does not currently support other values than the one listed above. so like. go wild, but PipeWire won't get it π
-a NAME,--appname=NAMEβ the application name to use when you're reserving the device. it's giving "who am i in this reservation" π-p PRIO,--priority=PRIOβ the priority to use when reserving the device. yes it's a PRIO, keep it asPRIObestie β¨-m,--monitorβ monitors reservations of a given device instead of reserving it. so you're just watching. lurking. observing the reservation drama π-h,--helpβ show help. iconic, helpful, we love her π--versionβ show version information. no short flag for this one, she stands alone π
π₯ EXIT STATUS π₯
if the device reservation succeeds, pw-reserve does not exit until it's terminated with a signal. she's staying. in that case, it exits with status 0 if it's terminated by SIGINT or SIGTERM. π«‘
otherwise? it exits with nonzero exit status. not every story has a happy ending π
π EXAMPLES π
pw-reserve -n Audio0
reserve ALSA card 0, and exit with error if it's already reserved. straightforward, no notes π
pw-reserve -n Audio0 -r
reserve ALSA card 0, requesting any applications that have reserved the device to release it for us. assertive. love that for us π₯
π AUTHORS π
The PipeWire Developers <https://gitlab.freedesktop.org/pipewire/pipewire/issues> β that's where you go with issues, bestie π
PipeWire is available from <https://pipewire.org> β go say hi β¨
π SEE ALSO π
[1] https://git.0pointer.net/reserve.git/tree/reserve.txt β A simple device reservation scheme with DBus. this is the whole source of truth for the reservation scheme, so like, iykyk π
and that's the whole page, bestie!! πΈπππ¦β¨
mwah, go reserve some devices. this was pw-reserve(1) from PipeWire 1.6.8 β written, as always, by the PipeWire girlies. catch you in the next man page π«Άπ
π¦ where this page comes from
- alpine 3.24: pipewire-doc 1.6.8-r4 Β· MIT
- ubuntu stonking: pipewire-bin 1.6.8-1ubuntu4 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms