Commit graph

60 commits

Author SHA1 Message Date
Julian Bouzas
a3a787c5c8 conf: disable legacy endpoint creation module and replace it with lua script 2021-01-22 10:09:39 -05:00
George Kiagiadakis
ac87519841 config: enable lua scripts, disable legacy modules 2021-01-21 09:50:50 +02:00
George Kiagiadakis
b8f8238fb4 lua: fix some nasty memory leaks 2021-01-21 09:42:07 +02:00
George Kiagiadakis
7b4829f808 config: add lua-based device monitors 2021-01-21 09:42:07 +02:00
George Kiagiadakis
c42a4def01 config: rename desktop profile to desktop-ep
A new desktop profile without endpoints will be added.
The goal is to be compatible with media-session in the short term
2021-01-15 16:41:22 +02:00
Julian Bouzas
d96c856f28 m-lua-scripting: handle default endpoints from the metadata 2021-01-15 08:59:13 -05:00
Julian Bouzas
9cb79dc3d6 modules: replace session-settings with default-metadata 2021-01-14 13:34:01 -05:00
George Kiagiadakis
b1a0f76807 config: implement the functionality of config-policy in Lua
Still missing a way to get the default endpoints, but this
is going to change and use the metadata API
2020-12-22 11:37:31 +02:00
George Kiagiadakis
af01155093 Merge branch 'master' into next-lua 2020-12-21 18:56:52 +02:00
George Kiagiadakis
2f0799642d config: disable audio sink "streams"; they fail on latest pipewire
Fixes #22
2020-12-21 18:48:21 +02:00
George Kiagiadakis
a2181fc3f4 Merge remote-tracking branch 'origin/master' into next 2020-12-01 11:16:13 +02:00
George Kiagiadakis
a7dcd3b76f src: port daemon to the new APIs 2020-11-15 20:26:15 +02:00
Julian Bouzas
af70cac05f modules: add module to store device profiles each time they change 2020-11-13 14:20:54 -05:00
Julian Bouzas
763f0f1795 m-monitor: add use-acp flag 2020-11-13 14:20:54 -05:00
Julian Bouzas
321545a32c modules: refactor dbus reservation
The Dbus device reservation has been moved into a separate module, and has also
been refactored to allow reserving a device name before an actual device is
created. Devices now are created and destroyed by the monitor depending on
whether PipeWire owns the device or not. This also simplifies a lot the device
activation module to always enable devices when they are created, and never
worry about checking whether a device is acquired by PipeWire or not.
2020-10-22 14:33:59 -04:00
Julian Bouzas
397a141150 m-endpoint-creation: add bluez5 endpoint creation for bluetooth devices 2020-10-05 11:35:24 -04:00
Julian Bouzas
7d35191091 m-config-endpoint: refactor and rename to endpoint-creation
Allows implementing device specific endpoint creation logic, which is currently
needed for bluetooth endpoints as they need to be created differenly.
2020-10-05 11:35:24 -04:00
Julian Bouzas
6a5a259fc7 modules: add bluez5 endpoint session item 2020-10-05 11:35:24 -04:00
Julian Bouzas
af196f4f5b modules: add fake stream session item 2020-10-05 11:35:24 -04:00
George Kiagiadakis
df258c3887 module-metadata: s/settings/plugin/ 2020-08-31 16:21:07 +03:00
George Kiagiadakis
3ae506d223 modules: rename metadata module to just 'module-metadata' 2020-07-31 16:34:01 +03:00
raghu447
65b4562fa0 Implement PW_TYPE_INTERFACE_Metadata 2020-07-30 21:30:14 +05:30
George Kiagiadakis
280c0edfa6 config: improve {audio,video}testsrc.node config files
* add library.name to not require adding `add-spa-lib` in pipewire.conf
  or wireplumber.conf for this to work
* add a commented local=true; it can be useful to run those nodes
  locally for testing, sometimes
2020-07-02 17:07:25 +03:00
George Kiagiadakis
66f2e535cf config: add .node config files to create audiotestsrc / videotestsrc
and add the non-disabled filenames in .gitignore so that I can maintain
symlinks to enable them without commiting them
2020-06-16 16:06:20 +03:00
George Kiagiadakis
e81dc5782a config: add endpoint config files to increase priority on USB audio devices
if there is a usb device plugged, we can assume it's meant to be used
instead of the built-in audio
2020-06-16 15:44:39 +03:00
George Kiagiadakis
b3e53daf26 config: add .endpoint config file for audiotestsrc 2020-06-16 13:32:39 +03:00
George Kiagiadakis
82197118f7 config: increase bluez & jack endpoint priorities
jack has the highest prio because if it's present, we assume the
user wants to use jack to route everything

bluez has higher prio than alsa because if it's present, we assume
the user wants to use the bluetooth device
2020-06-16 13:13:05 +03:00
George Kiagiadakis
f2d8d220eb config: rename files to have gaps in their load priorities 2020-06-16 13:08:58 +03:00
George Kiagiadakis
5069ce5eb9 wireplumber.conf: disable bluez monitor by default
- because it conflicts with pulseaudio and we actually still want
  pipewire to be able to run along pulseaudio on default setups
- and because it doesn't work well yet
2020-06-16 12:10:01 +03:00
Julian Bouzas
53289b9906 m-monitor: allow the monitor module to create multiple devices 2020-06-11 13:50:02 -04:00
Julian Bouzas
74eee35e6f src: config: add bluez5 endpoint files 2020-06-08 14:06:12 -04:00
Julian Bouzas
e68cd7b700 src: config: enable bluetooth monitor 2020-06-08 11:15:06 -04:00
George Kiagiadakis
4130cf17ca config: restructure wireplumber.conf and add comments for documentation 2020-06-03 21:13:03 +03:00
George Kiagiadakis
ded2d5e221 config: add .endpoint files to match jack nodes and prioritize them over alsa
if jack is running, that probably means that we want the jack
endpoints to be the default playback/capture path
2020-06-03 20:35:31 +03:00
Julian Bouzas
3c36f20d23 src: config: add jack.device file and removed jack device module 2020-06-02 12:24:47 -04:00
Julian Bouzas
d3cb1bd84d modules: rename config-static-nodes to config-static-objects 2020-06-02 12:24:47 -04:00
Julian Bouzas
128b67e265 src: config: update default configuration to handle nodes created by the jack device 2020-06-01 20:05:03 -04:00
Julian Bouzas
908a7ffbc3 src: config: add midi.node to create the MIDI node at startup 2020-05-29 08:43:36 -04:00
Julian Bouzas
9667cccb5a modules: move monitor device activation logic into a new device-activation module 2020-05-26 11:52:44 -04:00
Julian Bouzas
daa8b8f5c0 modules: add node-suspension module
This module suspends a node if idle for at least 3 seconds
2020-05-26 11:29:18 -04:00
Julian Bouzas
ab1d8aafde modules: add new si-monitor-endpoint module 2020-05-21 09:47:56 -04:00
Julian Bouzas
2660e13c4a config: enable monitor ports on audio sinks 2020-05-21 09:47:56 -04:00
George Kiagiadakis
27064d78f8 modules: initial version of module-session-settings 2020-05-16 12:54:36 +03:00
Julian Bouzas
f78ca66922 config-policy: remove keep property and never unlink endpoints 2020-05-15 08:28:58 -04:00
Julian Bouzas
6044b23aed modules: refactor config-policy to use the new session item API 2020-05-12 10:03:29 -04:00
Julian Bouzas
4b7bc92e4b modules: remove pipewire module and move algorithms to module-si-adapter 2020-05-12 09:47:35 -04:00
Julian Bouzas
6317599477 src: config: add audio sink streams configuration 2020-05-12 09:47:35 -04:00
Julian Bouzas
2e781ce607 src: config: load all session item modules 2020-05-11 12:03:43 +03:00
Julian Bouzas
616034174d src: main: add create-session command to create sessions when wireplumber starts 2020-05-11 12:03:43 +03:00
Julian Bouzas
af5da7a372 src: config: update default wireplumber configuration to work with new config-endpoint module 2020-05-11 12:03:43 +03:00