LIBPIPEWIRE-MODULE-EXAMPLE-SINK(7)
β¨ libpipewire-module-example-sink(7) β¨
okay bestie, welcome to the Miscellaneous Information Manual π β yes that's the manual section this lil page lives in, and it's section 7, the "miscellaneous" girlies. this is libpipewire-module-example-sink, and honestly? she's babygirl. periodt.
πΈ NAME πΈ
libpipewire-module-example-sink β Example Sink π
π¦ DESCRIPTION π¦
so the example sink is a good starting point for writing a custom sink. she's the blueprint, the template, the moment before the glow-up. if you're building your own sink, start here fr fr.
and that'sβ¦ kind of the whole description?? we literally refer to the source code for more information. the source code is the main character here, not this manpage, no cap πβ¨
π MODULE NAME π
libpipewire-module-example-sink
that's her. that's the whole entire name. iconic.
π MODULE OPTIONS π
these are the options this module takes, and you're gonna love them:
node.nameβ a unique name for the stream. make it one-of-a-kind bestie, no duplicates allowed πnode.descriptionβ a human readable name for the stream. this is the cute one humans actually see, so make it pretty πstream.props = {}β properties to be passed to the stream. a whole little bag of goodies for the stream π«Ά
π GENERAL OPTIONS π
these ones have well-known behavior, so they're like⦠the universally understood vibes. iykyk.
remote.nameaudio.formataudio.rateaudio.channelsaudio.layoutaudio.positionmedia.namenode.latencynode.namenode.descriptionnode.groupnode.virtualmedia.class
(she's a list, she's a legend, she's a moment β)
π§ EXAMPLE CONFIGURATION π§
put it here bestie π
# ~/.config/pipewire/pipewire.conf.d/my-example-sink.conf
context.modules = [
{ name = libpipewire-module-example-sink
args = {
node.name = "example_sink"
node.description = "My Example Sink"
stream.props = {
audio.position = [ FL FR ]
}
}
}
]
look at her go π₯Ή node.name, node.description, and a lil stream.props block with audio.position = [ FL FR ] β clean, simple, slay. copy it, tweak it, make it yours. the way that config file goes into ~/.config/pipewire/pipewire.conf.d/β¦ obsessed π
π reminder: the source code is where the real tea is. this page said so itself. go read it.
and that's the whole page bestie!! πβ¨ this was pulled from PipeWire version 1.6.11, as documented on the libpipewire-module-example-sink(7) page in the Miscellaneous Information Manual. go forth and build your sink, you absolute legend π
π¦πΈ
π¦ where this page comes from
- fedora 44: pipewire-libs 1.6.11-1.fc44 Β· MIT AND GPL-2.0-or-later AND BSD-2-Clause AND LGPL-2.0-or-later
- fedora 44: pipewire-libs 1.6.11-1.fc44 Β· MIT AND GPL-2.0-or-later AND BSD-2-Clause AND LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms