jasker5183
f328a92b9e
Add Version Info to bluez-monitor.conf
2021-04-12 15:42:38 +00:00
jasker5183
54ac9d2378
Add Version Info to alsa-monitor.conf
2021-04-12 15:41:12 +00:00
jasker5183
ba61d5823b
Update pipewire-pulse.conf.in Formatting
2021-04-12 15:33:39 +00:00
jasker5183
4767bbc169
Update pipewire.conf.in Formatting
2021-04-12 15:30:03 +00:00
jasker5183
f36f464d7f
Update client.conf.in Formatting
2021-04-12 15:26:46 +00:00
Pauli Virtanen
0e80a2497a
media-session: add logind seat status support
2021-04-10 21:53:29 +03:00
Huang-Huang Bao
0beb6bfc6c
bluez-monitor: improve documentation for 'bluez5.msbc-support', set values of some properties in comment to default
2021-04-10 17:56:50 +08:00
Wim Taymans
8251dc11cc
spa: add type mappings for F32 and F32OE
...
so that we can refer to the native float32 format with F32 and the
other endian one with F32OE.
2021-04-09 11:38:54 +02:00
Wim Taymans
44e6e7f5c8
pulse-server: use PipeWire format and channel names
...
Use the PipeWire format and channel names in the config to avoid
confusion.
2021-04-09 11:30:57 +02:00
Wim Taymans
b305f57e4d
pulse-server: make sample format and channel_map configurable
...
Add an entry in the config file for default format and channel map.
Use the defaults in the server_info request
Use the defaults for the default channels and map in the modules.
2021-04-09 11:12:13 +02:00
Wim Taymans
78db493d0d
pulse-server: depend on pipewire.service
...
Make sure we only start after the main pipewire.service is started.
See https://bugzilla.redhat.com/show_bug.cgi?id=1943867
2021-04-06 10:24:25 +02:00
Dmitry Sharshakov
97b01ed9b0
bluez5: add a property to select default profile
2021-04-04 08:43:09 +00:00
Dmitry Sharshakov
e7f2f450ff
bluez5: add parameter to use A2DP source as input
2021-03-30 09:21:12 +02:00
Wim Taymans
f78be58568
stream: Add node.autoconnect stream.properties
...
If the node.autoconnect property is set in the stream.properties,
ignore the AUTOCONNECT flag value. This makes it possible to
force AUTOCONNECT either way.
See #964
2021-03-29 14:19:34 +02:00
Wim Taymans
80ce2c94ac
alsa: add start-delay parameters to sink
...
The start-delay adds extra silence to the buffer before starting the
playback. The idea is to have more time to adapt to the device
startup and set the timer more accurately.
See #983 , #431
2021-03-29 13:20:14 +02:00
Pauli Virtanen
54e06d9df0
bluez5: add additional aac encoder options, and implement optional vbr
2021-03-27 11:47:34 +00:00
Huang-Huang Bao
34c9f24d2a
bluez5: autoconnect device profiles on startup
...
Auto-connect all paired & trusted devices on startup.
Since devices that already connected or powering off would reject the connecting requests, it should be fine with this behavior.
Also reconnect remaining profiles if only partial profiles are connected.
2021-03-26 14:15:55 +00:00
Wim Taymans
df9644f109
jack: add jack.self-connect-mode
...
Add a property to restrict self-connections. This can be used to
stop clients from connecting themselves automatically.
Fixes #952
2021-03-23 12:24:38 +01:00
Gleb Popov
03ea1a2177
Add a necessary include.
...
The `basename` function is defined in <libgen.h> and on FreeBSD this header
doesn't get transitively included, which causes a runtime crash.
2021-03-20 09:11:48 +00:00
Huang-Huang Bao
43603dd75d
a2dp: add property to force LDAC encoding quality
...
Fixes #661
2021-03-19 11:50:56 +00:00
Wim Taymans
972cf8d657
media-session: make midi sequencer bridge name configurable
...
Setting this to a2j might make it look pretier in some jack apps.
Not sure yet if this should be the default.
2021-03-18 16:27:46 +01:00
Huang-Huang Bao
f021866adb
meson: fix symbolic link creating on FreeBSD
2021-03-17 19:29:55 +08:00
Wim Taymans
e51cc5b537
channelmix: Prepare for generating LFE channel
...
Add channelmix.lfe-cutoff property, 0 is disabled
Disable upmix by default
2021-03-17 11:09:19 +01:00
Jonas Holmberg
44e0251afd
impl-node: Make rounding of quantum configurable
...
Add new context config clock.power-of-two-quantum to make it possible to
not round quantum to closest lower power of two. This makes it possible
to match the quantum of a source node with the quantum of a client
node.
2021-03-16 19:09:29 +00:00
Huang-Huang Bao
374180e211
bluez5: pass per-device settings to codec handler, make 'bluez5.sbc-xq-support' a per-device setting
2021-03-16 10:31:08 +00:00
Huang-Huang Bao
762663e74e
meson: create soft link for 'pipewire-uninstalled', fix gdb target in Makefile
2021-03-14 13:32:08 +08:00
Wim Taymans
90b0410280
conf: improve config files
...
Make arrays from config sections that should really be an array.
Having the module name as the object key technically makes it
impossible to load the same module twice because the key can only
be once in the object.
The same applies to the context.objects and context.exec sections.
This also makes it somewhat easier to parse the config..
2021-03-12 12:39:58 +01:00
Thibault Saunier
485bae5eb0
meson: Use feature options everywhere it makes sense
2021-03-10 20:18:34 +00:00
Wim Taymans
6324298bc5
channelmix: add more generic upmixing
...
Add options to enable lfe filtering and upmix.
Enable upmix by default, lfe is disabled because we don't actually
do a lowpass filter yet.
2021-03-06 21:31:18 +01:00
Wim Taymans
67b431cfca
rtkit: boost default rt.prio to 88
...
See #685
2021-03-03 19:56:22 +01:00
Wim Taymans
a57d3e4dae
Revert "context: set max-quantum to 4096 by default"
...
This reverts commit 293d9b3c5d .
The root cause of this might now be fixed.
See #724
2021-03-02 10:46:24 +01:00
Wim Taymans
f7d756460e
alsa: add option to use device channel map instead of default
...
See #461
2021-02-25 21:16:16 +01:00
Wim Taymans
cab87b6d3e
pipewire: make pipewire a generic launcher
...
It uses the basename as the config file so you can symlink to it
and make new custom servers.
2021-02-25 13:35:04 +01:00
Wim Taymans
293d9b3c5d
context: set max-quantum to 4096 by default
...
Some devices seem to have trouble with larger quantum.
See #724
2021-02-25 12:25:01 +01:00
Wim Taymans
7cf07da392
Start media-session and pulse-server in uninstalled config
...
Also update the INSTALL instructions to match reality.
2021-02-25 07:00:56 +01:00
George Kiagiadakis
27cfff7965
systemd: do not specify RuntimeDirectory on the media-session service
...
This will just re-create /run/pipewire for no good reason; the one
in pipewire.service is enough
2021-02-24 21:15:41 +00:00
George Kiagiadakis
32512a8962
systemd: system-mode: preserve /run/pipewire after the daemon stops
...
/run/pipewire is initially created by pipewire.socket when it creates
the socket file, but it is owned by root with mode 0755.
In the .service unit, RuntimeDirectory=pipewire re-creates /run/pipewire
for user pipewire (owned by pipewire:pipewire, 0755) when this unit starts.
This is necessary for the pipewire daemon to be able to write the .lock file.
By default, when the service unit stops, systemd deletes this runtime
directory and therefore it also deletes the socket that is owned by
pipewire.socket. When this happens, the service is no longer
socket-activateable even though pipewire.socket is active.
RuntimeDirectoryPreserve=yes prevents the service unit from removing
this runtime directory and socket activation still works as expected
2021-02-24 21:15:41 +00:00
George Kiagiadakis
2491f56355
config: ignore module-portal load failures
...
When running pipewire as a system-wide daemon, module-portal
obviously doesn't load. Make it optional so that the default
config doesn't fail in system-wide mode
2021-02-24 21:15:41 +00:00
George Kiagiadakis
012a68f8ef
systemd: add unit files for pipewire-media-session
...
... and disable starting it from context.exec in the config
2021-02-23 16:21:59 +00:00
George Kiagiadakis
3a7ce9660a
meson: add option to enable/disable media-session
2021-02-23 16:21:59 +00:00
George Kiagiadakis
b7c6f70ae3
systemd: add sandboxing also for the system service
...
Based on dd1bf796cb
and https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/master/src/daemon/systemd/user/pulseaudio.service.in
See also: #763
2021-02-23 16:21:59 +00:00
Wim Taymans
d54da879bf
jack: add config option to shorten and filter names
2021-02-23 16:13:08 +01:00
Wim Taymans
43f8f39d3a
pulse-server: move some config params to config file
...
Also make the minreq/fragsize larger by default.
2021-02-23 14:57:45 +01:00
Wim Taymans
fa39cae9d3
pulse-server: we can add stream.properties as well
2021-02-20 21:06:47 +01:00
Wim Taymans
5738cb74ef
Add filter and stream properties
...
Mostly latency but also adapter properties for streams.
2021-02-20 21:03:38 +01:00
Wim Taymans
149319819a
jack: apply PIPEWIRE_PROPS after reading config
...
First apply config properties, then PIPEWIRE_PROPS.
We can set the node.latency in jack.conf
2021-02-20 21:02:05 +01:00
Wim Taymans
686524ce40
context: use the log.level from the config file
...
Use log.level from the config file if not otherwise set with
PIPEWIRE_DEBUG env.
Make client log.level = 0 by default to avoid spamming the console
with errors.
Fixes #725
Fixes #769
2021-02-19 12:44:03 +01:00
Bryan Quigley
dd1bf796cb
systemd: add sandboxing and slice similar to pulseaudio
...
Adds as much sandboxing as seems to work with user sessions.
Adds pipewire to session slice per https://systemd.io/DESKTOP_ENVIRONMENTS/
Inspired from https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/master/src/daemon/systemd/user/pulseaudio.service.in
Fixes: 763
2021-02-19 09:08:51 +00:00
Wim Taymans
250a10cd63
conf: put "" around string with potential special chars
2021-02-18 17:21:29 +01:00
Wim Taymans
6079830591
media-session: add option to configure suspend timeout
...
Set the property on the node and use the value when suspending the
node. a timeout of 0 disables suspend.
2021-02-16 15:41:53 +01:00