- Jun 09, 2021
-
-
Wim Taymans authored
-
- Jun 08, 2021
-
-
Wim Taymans authored
Override the CORE_NAME using the env variable in the context instead of pipewire.c. This avoids needing the _add_string() property method. Remove the properties_add_string() method, there are new improved plans for property parsing and merging: See #207
-
Peter Hutterer authored
valgrind doesn't know we expect this to fail, so let's not confuse it
-
Peter Hutterer authored
-
Wim Taymans authored
Add quotes around the port and client names.
-
Wim Taymans authored
When we rename the port, also store the new name in the port structure so that we can actually find the port with the new name. See #1265
-
- Jun 07, 2021
-
-
Evgeniy Khramtsov authored
-
Wim Taymans authored
Until we are sure that everybody has a recent enough version of alsa-lib 1.2.5
-
Wim Taymans authored
So that we don't reference it anymore or try to remove the listener.
-
Unregister the resource listener when the node is going away to avoid use-after-free issues. Fixes #1276
-
-
Wim Taymans authored
Make enough room for the timestamp to include the last ] Add a space before the actual log line.
-
Cause for this was a missing ioctl, fixed in 2014. See valgrind commit 4ef60ef1029e6933773b7de9966ece7185129d84
-
This removes the use of the VALGRIND environment variable
-
These headers are designed for including in the project. So the user doesn't need to install valgrind-devel and we don't have to worry about whether the headers are available or not.
-
For each header in the spa directory, generate a compilation test that includes just that header. This way we can pick up missing #includes. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-
Set this once during setup so we don't have to remember to call fflush() after each logging operation. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
In the interested of making the logs narrower, let's drop some digits from the clock_gettime() seconds value. Clamping to 5 digigts, this gives us just under 28h before we wrap which is likely good enough for debugging.
-
Taken from pipewire/pipewire!655 (comment 912691)
-
Write the timestamp and location into a temporary buffer, then include them in the message print. This makes bugs involving size vs length less likely and provides a fixed limit for how much space the filename can take in the message.
-
Wim Taymans authored
Setting a NULL value for the property will remove the property and will thus not send an update to the server and will thus not stop freewheeling. Use "" to remove ourselves from the freewheel group instead of looping forever. See #1265
-
Wim Taymans authored
Don't assume anything about the way the split function maintain the state.
-
Wim Taymans authored
Ardour does the port latency update from the process thread. Schedule an update on the main thread in all cases to avoid deadlocks. See #1265
-
Replace the manually maintained header list with a Python script that finds all header files and includes them in order. This adds another 25 or so previously headers to the C++ compilation tests.
-
../spa/include/spa/node/node.h:639:14: error: ‘ENOTSUP’ was not declared in this scope
-
Peter Hutterer authored
The two are functionally equivalent, but spa_snprintf never returns a value higher than the size, preventing memory corruption where our input string exceeds the target buffer size (see c851349f). Niche case: we can no longer differ between real overflow and fitting an N-byte string into an N+1 sized buffer, we now get a "...truncated" message now for log messages of exactly 999 bytes long.
-
Peter Hutterer authored
Wraps the glibc snprintf/vsnprintf calls, but aborts if given a negative size and zero-terminates the buffer on error. The returned value is clipped to size - 1 which avoids issues like the one fixed in c851349f.
-
- Jun 05, 2021
-
-
Wim Taymans authored
We're using a thread loop so always call methods with the lock or we might cause lockups and crashes. See #1265
-
Fairly straightforwad module to load libpipewire-module-echo-cancel
-
Simply return 0 instead of -ENOENT. Fixes #1262
-
From its definition and parameters passed to its function call, the 3rd parameter is read_mtu and the 4th is write_mtu. Fixes #1256
-
Barnabás Pőcze authored
Add meson devenv with the appropriate env variables set up. Largely based on pw-uninstalled.sh
-
- Jun 04, 2021
-
-
Barnabás Pőcze authored
-
Barnabás Pőcze authored
The library has been replaced by a PulseAudio server reimplementation.
-
Wim Taymans authored
-
Wim Taymans authored
Try to keep the full docs out of the headers and into the .c file. A small short blurb in the header is enough for quick lookups. Also try to use a regular comment to not confuse the doc system.
-
As documented in pipewire/keys.h, PIPEWIRE_CORE is supposed to overwrite the default value.
-
Any values already set in the properties list (e.g. from earlier getenv()) calls should not be overwritten by the value in the config file.
-
Equivalent to the existing pw_properties_update_string() but only adds new properties from the given string, it doesn't overwrite existing ones.
-