Jan Beich
6d58c73937
module-rt: fix warning when xdg-desktop-portal isn't running
...
$ pipewire
...
[W][1234.001] mod.rt | [ module-rt.c: 278 pw_rtkit_check_xdg_portal()] Can't find xdg-portal: (null)
...
2023-01-08 07:29:42 +00:00
Wim Taymans
b2f43e7bad
pulse-server: fix echo-cancel _master args
...
The sink_master and source_master should be set on the capture and
playback streams so use the new properties on module-echo-cancel to do
this.
2023-01-07 15:00:40 +01:00
Wim Taymans
feac9f1c70
module-echo-cancel: add capture and playback props
...
Add a capture.props and playback.props config section to set properties
for the capture and playback stream.
Fixes #2939
2023-01-07 13:58:30 +01:00
Dmitry Sharshakov
6fb543a514
adapter: support node.channel-names
...
Allow customizing channel names for nodes
2023-01-06 23:17:33 +03:00
Wim Taymans
4f458b5d9a
filter-chain: dynamically allocate the params
...
Dynamically allocate the offsets and params arrays so that it can
support more than 512 params.
Fixes #2933
2023-01-06 12:41:06 +01:00
Robert Mader
be2757c121
gstpipewireformat: Fully handle SPA_CHOICE_Step
...
The step value was not used.
2023-01-06 11:16:52 +00:00
Robert Mader
0f4fcd63ac
filter: Better SPA_CHOICE_Step support
...
Allow comparing single values with step-ranges. An example where this
can be useful is when trying to encode a screencast with a hardware
encoder.
2023-01-06 11:16:52 +00:00
Thomas Weißschuh
d4db7e1d9b
pw-dump: sort dictionaries
...
Dictionaries are by default printed in their insertion order.
This is unergonimic when comparing properties created by different
clients, as they may insert them in different orders.
2023-01-06 11:15:17 +00:00
Wim Taymans
ed9d3e7320
v4l2: fix some compiler warnings
...
Compare poiters with NULL and without ordering.
2023-01-06 10:32:25 +01:00
Dmitry Sharshakov
bb23fd787e
v4l2: support setting controls
2023-01-03 12:19:14 +00:00
Dmitry Sharshakov
08107f1a02
v4l2: support querying controls
2023-01-03 12:19:14 +00:00
Dmitry Sharshakov
5c96928d12
v4l2: follow symlinks
2023-01-03 12:19:14 +00:00
Wim Taymans
f62c40c205
acp: also add the Pro profile for UCM devices
2023-01-03 13:17:10 +01:00
Wim Taymans
3595e31124
acp: add ports only when there are ucm devices
2023-01-03 13:16:06 +01:00
Wim Taymans
2eaac9b67a
acp: mark the Pro profile with a flag
2023-01-03 13:13:03 +01:00
Wim Taymans
6116ef8484
impl-port: clear peer buffers in suspend
...
When we clear the buffers on an output port when we clear the port
format in suspend, also clear the buffers shared by the peer input
port mixers because else they would reference old stale buffers.
Fixes #2914
2023-01-02 17:24:35 +01:00
Wim Taymans
6b228944f7
impl-port: clear have_buffers when setting 0 buffers
2023-01-02 16:03:36 +01:00
Thomas Weißschuh
ed46324872
alsa: fix memory leak of properties
2023-01-01 02:00:36 +00:00
Bob Ham
a65a58d1a0
README.md: Add "Getting help" section
...
Fixes #2916
2022-12-29 12:48:07 +00:00
Wim Taymans
860b8fc27f
modules: fix rate update
...
Setting the rate with the PROP_rate would actually result in a rate
adjustment of 1.0f / rate, so do the same here.
See #2891
2022-12-29 12:22:56 +01:00
Barnabás Pőcze
73c5f6e1bf
pipewire: module-roc-{sink,source}: port to ROC v0.2.X
...
Incompatible changes between ROC v0.1.X and v0.2.X require
adjusting the ROC modules' code. The largest change is going
from `roc_address` to `roc_endpoint`. There is also a breaking
change, the removal of `local.ip` parameter from module-roc-sink
as `roc_sender_bind()` has been removed.
The API usage was modelled after https://github.com/roc-streaming/roc-pulse
See #1757
Fixes #2911
2022-12-29 10:13:30 +00:00
Robert Mader
be99aa1eba
gst: deviceprodiver: Add fd property / camera portal support
...
Add a `fd` property to `GstPipeWireDeviceProvider` so it can be used
with fds obtained from e.g. the camera xdg-desktop-portal.
This is needed so apps like Cheese or Camera can easily implement the
camera portal.
2022-12-27 23:43:22 +01:00
Robert Mader
2bc3e0ca10
gst: deviceprodiver: Use GstPipeWireCore and some cleanups
...
Quoting the commit introducing `GstPipeWireCore`:
```
Make all sources in the same process with the same fd share the
connection to the server. This makes it possible to set the same
fd on multiple sources/sinks and have them all use the same
connection, like when capturing multiple monitors from screencast
with the portal.
```
Do the same for `GstPipeWireDeviceProvider`, so it can share a
connection with device sinks as well. This will be needed for fd based
connections introduced in the next commit.
Further more it allows some cleanups.
1: 70652d1a37
2022-12-27 23:36:36 +01:00
Pauli Virtanen
b0853ad34a
bluez5: media-sink: set initial latency after getting transport
...
The call to set_latency doesn't do anything, before transport has been
set.
2022-12-21 16:42:04 +02:00
Pauli Virtanen
c7b3ef0d9f
bluez5: backend-native: fix missing brace in CIND reply
...
It should look like ...,("battchg,(0-5)) not ...,"battchg",(0-5))
2022-12-21 12:55:20 +02:00
columbarius
9f1311a2e0
examples: only use memfd_create when defined
...
See #987
2022-12-20 10:42:28 +01:00
Julian Picht
8c0a94c9d8
module/roc-*: fix position of comment
2022-12-19 12:47:47 +01:00
Julian Picht
b47e799c9a
module/roc-*: implement audio.rate
2022-12-19 12:25:33 +01:00
Wim Taymans
89ac6b3535
alsa: don´t set -1 as node.target
...
Leave the target unset when -1, just like what pw-stream does.
See #2893
2022-12-17 18:17:33 +01:00
Wim Taymans
9c2b2a64f0
audioconvert: improve debug output
...
Print channelmix matrix when there is something to print. Avoids
skipping zero matrix lines in some cases.
2022-12-16 19:50:45 +01:00
Wim Taymans
846dbce7f1
doc: update after PIPEWIRE_DEBUG changes
2022-12-16 18:29:19 +01:00
Wim Taymans
6a69152185
acp: add api.acp.probe-rate option
...
Add an option to configure the samplerate used for probing because the
default 48KHz might not work for everyone.
See also #1599
2022-12-16 12:57:17 +01:00
Wim Taymans
f4f316b951
filter-chain: move fft to dsp_ops
2022-12-16 11:30:18 +01:00
Wim Taymans
b6b6efff42
convolver: use normal float for complex float array
2022-12-16 10:51:19 +01:00
Wim Taymans
538b6ce35e
filter-chain: use dsp sum/copy/clear functions
2022-12-16 10:22:01 +01:00
Wim Taymans
0f2f113bdc
filter-chain: add optimized sum function
2022-12-16 10:19:20 +01:00
Wim Taymans
cd38d7b53b
filter-chain: move functions to separate struct
...
So that it's easier to copy them.
2022-12-16 09:37:45 +01:00
Wim Taymans
fa10849139
filter-chain: pass dsp_ops around
...
Initialize dsp_ops in the filter-chain and pass it around.
2022-12-16 09:28:00 +01:00
Wim Taymans
f7c49bbdde
pulse-server: add channel-map in echo-cancel module
2022-12-15 13:12:47 +01:00
Wim Taymans
7758240c79
bluez: fix compilation without ldac_abr
...
The define for this constant was removed but it was LDACBT_EQMID_MQ
before.
2022-12-15 12:20:40 +01:00
Wim Taymans
5ff00f40b9
0.3.63
2022-12-15 09:56:23 +01:00
Wim Taymans
5f30ccae50
pipewire: remove redundant code
...
The generic code can now also handle the single character debug
specification.
2022-12-14 18:54:50 +01:00
Wim Taymans
9b3b6e2401
pipewire: support global log level in PIPEWIRE_DEBUG
...
Add support for PIPEWIRE_DEBUG=3,foo.bar:5 to set a global log level in
addition to specific topics.
Previously it would have to be done with *:3,foo.bar:5, which would not
really set a global level but all topics to the custom level of 3.
2022-12-14 18:00:54 +01:00
Wim Taymans
da3273891c
tests: add another pw_split_strv test
...
To check if an empty string after a delimiter is counted.
2022-12-14 16:56:17 +01:00
Wim Taymans
72bee99f87
pulse-server: add category for connection debug
...
Use a new conn. topic to debug the messages. These are disabled by
default.
2022-12-14 16:40:58 +01:00
Wim Taymans
34973eac89
pipewire: fix pw_debug_is_category_enabled()
...
The function was broken since the log topics were added.
Use the logger to init a topic with the given name and check if
there was a custom level for the topic.
2022-12-14 16:20:23 +01:00
Wim Taymans
e5ac60b2b2
alsa: increase target for a52 and dca
...
For encoded format, we need to send bigger chunks to make the encoder
happy. Add a new min_delay variable with this info so that we never
leave less than that amount of samples in the ringbuffer.
Fixes #2650
2022-12-14 12:41:22 +01:00
Dylan Aïssi
cbc75dc98d
pw-mon: recognize -N and -C as valid options
2022-12-14 11:07:42 +01:00
Wim Taymans
50dad68eb4
midi: fix midi event sorting
...
The high bit is always 1 so we can use only the lower 3 bits for the
priority.
2022-12-13 16:41:20 +01:00
Wim Taymans
144df8675f
audioconvert: enable channelmix.mix-lfe by default
...
It seems OK and SDL also seems to mix LFE by default so what could
possibly go wrong.
Fixes #2425
2022-12-13 16:29:46 +01:00