Commit Graph

32 Commits

Author SHA1 Message Date
bff6a566e2 Add a package file 2022-06-28 22:24:20 +02:00
7695f21b18 Add debug declaration to pw-ui--osd macro 2022-06-28 22:24:20 +02:00
9425f7f359 Don’t prefix lambdas with #' 2022-06-28 22:24:20 +02:00
c31950cb30 Don’t use -face suffix for faces 2022-06-28 22:24:20 +02:00
bcf5c5e3d4 Add “;;; Commentary:” labels 2022-06-28 22:24:20 +02:00
57fe580df2 Escape initial parentheses in docstrings 2022-06-28 22:24:20 +02:00
66b49c4e37 Don’t err in pw-ui--update-muted when called on a node 2022-06-28 22:24:20 +02:00
38953efca5 README a bit updated 2022-06-28 21:04:48 +02:00
b6f9754600 Report the node name of the muted port 2022-06-28 20:56:21 +02:00
adf36e59b1 New command pipewire-toggle-microphone 2022-06-28 20:43:37 +02:00
b80fbab73a Cache default nodes
This makes a significant difference in CPU usage when e.g. displaying
the defaults in a panel.
2022-06-25 07:11:20 +02:00
9ca7a06af6 Screenshot updated 2022-06-18 10:33:00 +02:00
6fad0ba9f7 Use floating numbers for OSD frame position
If there are multiple monitors with different resolutions, integer
values may cause placing the OSD outside of the visible area.
Floating values are relative to the current monitor size and OSD
is always placed inside the visible area.
2022-06-17 19:30:38 +02:00
2759cce8a6 Set parent frame for OSD
This ensures the OSD is displayed on the current monitor.
2022-06-17 19:29:30 +02:00
b7a83c81c1 Move formatting list of properties to a separate function 2022-06-16 07:30:52 +02:00
2c421bb990 Add support for device profiles
This is especially useful with Bluetooth devices.
2022-06-15 21:31:24 +02:00
1065d9d389 Fix pw-cli--parse-properties
- Remove some redundancy.
- Make sure we don’t search after the end point.
- Move to the end point (this is necessary for parsing the following
  object).
2022-06-15 21:30:27 +02:00
08c9d50a1c Silence compilation warnings about unused variables 2022-06-15 19:50:24 +02:00
6041fcdc0b Add retrieval of default capture ports 2022-06-14 20:22:22 +02:00
36b66024ad Don’t err in pw-lib-default-playback-ports without default sink 2022-06-14 20:03:46 +02:00
cd1a8beeab Change volume of playback ports by default
This seems to be more correct than changing volume of the whole sink.
The default volume of the sink is 1 (100) and alsamixer also changes
volume of the ports.
2022-06-13 21:27:29 +02:00
2d76e595a9 Cache object bindings 2022-06-13 21:27:28 +02:00
94bbd26205 Add support for OSD of volume changes 2022-06-13 19:14:22 +02:00
2e63bcff13 Allow applying pipewire-set-default on a whole device 2022-06-11 07:56:38 +02:00
f6035e710f Pop to PipeWire buffer
This is a more suitable use pattern for a tool like this.
2022-06-11 07:51:16 +02:00
7aee7c34fb Always invalidate cache on update commands
The cache must be invalidated even when there is no PipeWire buffer.
2022-06-08 19:17:32 +02:00
146c9ea227 Set the same volume for all the related channels by default 2022-06-06 20:16:39 +02:00
998ca396cb Fix typo in pipewire-decrease-volume docstring 2022-06-06 20:10:01 +02:00
d81907be16 Fix failure when setting a numeric property value 2022-06-06 19:55:25 +02:00
9890f6d0f3 Add README 2022-06-05 11:43:04 +02:00
4d4857b525 Add `refresh' argument to some parameter handling functions 2022-06-05 11:42:10 +02:00
ba4527658c Initial commit 2022-06-04 21:51:45 +02:00