Commit graph

7798 commits

Author SHA1 Message Date
Wim Taymans
2cddd4a775 cpu: disable VFP asm when not available
Fixes #1746
2021-10-25 16:32:16 +02:00
Wim Taymans
5dfc3494dc map: use uintptr_t for the next pointer
This aligns the low bits of the next field with the low bits of the
pointer on big endian cpus.

Fixes #1747
2021-10-25 16:17:35 +02:00
Wim Taymans
c07f0ccb71 map: make _insert_at() fail on a removed item
You are only supposed to use _insert_new()/_remove() or _insert_at()
on the map, If we detect a _insert_at() to a removed item,
return an error because else we might corrupt the free list.

Update unit test accordingly.
2021-10-25 16:17:35 +02:00
Peter Hutterer
d5825b8551 meson: use meson variables for the SMs' uninstalled scripts
Both wireplumber and media-session have a meson variable now that
represents the -uninstalled script, complete with filled-in BUILDDIR
etc.

Let's use those variables for pipewire-uninstalled.conf so we don't have
to fill in the paths here.
2021-10-25 07:45:56 +00:00
Philippe Normand
1ac57e6e15 pipewire-jack: Fix compound-token-split-by-macro warning 2021-10-25 07:26:15 +00:00
Philippe Normand
cff127a138 pipewire-alsa: Fix build warning
`pos < 0` always evaluates to false, so remove this condition.
2021-10-25 07:26:15 +00:00
Philippe Normand
f0d3a7cf49 spa: alsa: Fix build warning
`type >=0` always evaluates to true, so remove this condition.
2021-10-25 07:26:15 +00:00
Philippe Normand
397a67889a examples: Add explicit break statement in video-play-reneg 2021-10-25 07:26:15 +00:00
Philippe Normand
6b1c483cf7 spa: v4l2: Convert buf structure to union and fix alignment
The inotify_event field has a variable sized type, so it's recommended to store
it at the end of the storage unit. Fixes gnu-variable-sized-type-not-at-end warning.
2021-10-25 07:26:15 +00:00
Philippe Normand
ec7ed1275e spa: alsa: Switch to explicit fallthrough
Use `__attribute__((fallthrough))` through the new FALLTHROUGH macro, if
supported.
2021-10-25 07:26:15 +00:00
Guilherme Henrique
449cb66cec gitignore: Add media-session project to .gitignore 2021-10-24 19:57:28 +02:00
Guilherme Henrique
8641977816 meson: Set session manager variable based on renamed project 2021-10-24 19:53:02 +02:00
muzena
fcca0644d6 Update Croatian language 2021-10-24 11:07:22 +00:00
Arseny Maslennikov
ddb38bd742 pipewire-v4l2: pw-v4l2.in: fix parameter expansion in quotes
`@LIBV4L2_PATH@` can be expanded into a string containing literally
`${LIB}`, which is then reexpanded by the shell since it's enclosed in
double quotes. We fix this by using single quotes instead.
2021-10-23 04:35:31 +03:00
Gleb Popov
d460c96273 Properly disable v4l2. 2021-10-22 19:11:14 +03:00
Gleb Popov
b819496eda FreeBSD CI: Remove 11.4-RELEASE from the build matrix. 2021-10-22 19:10:13 +03:00
Gleb Popov
86caa39910 FreeBSD CI: Install git 2021-10-22 19:09:41 +03:00
Gleb Popov
35c9de34e8 Add FreeBSD variant of the ioctl request check. 2021-10-22 19:09:16 +03:00
Gleb Popov
65aea7c05a Avoid compiler warning by #ifdef'ing a function used only on Linux. 2021-10-22 19:08:24 +03:00
Gleb Popov
a76ccfe64b Set PW_KEY_SEC_LABEL property on FreeBSD and avoid compiler warning. 2021-10-22 19:07:45 +03:00
Gleb Popov
43ef614537 Remove unused function. 2021-10-22 19:05:43 +03:00
Gleb Popov
12a4fbb425 Use uint16_t instead of int16_t to fix a compiler warning. 2021-10-22 19:05:18 +03:00
Gleb Popov
e26b40a75f Fix compiler warning by spelling the initializer properly. 2021-10-22 19:04:47 +03:00
Gleb Popov
e94adaac24 Don't include byteswap.h on FreeBSD, use sys/endian.h instead 2021-10-22 17:50:42 +03:00
Wim Taymans
651f0decea cpu: fix compilation on some architectures 2021-10-21 11:09:48 +02:00
Wim Taymans
5b7ef959d1 0.3.39 2021-10-20 17:00:38 +02:00
Wim Taymans
e1f21ebd0b stream: add spa command include 2021-10-20 11:51:50 +02:00
Wim Taymans
45d9c2c9df pw-cat: use default metadata for default source/sink 2021-10-20 11:40:33 +02:00
Peter Hutterer
c2a273b57d gitlab: structure the issue templates 2021-10-20 08:56:43 +00:00
Peter Hutterer
6edbbf6a23 examples: fix NAME for bluez-session 2021-10-20 08:55:27 +00:00
Peter Hutterer
0623c20652 po: remove the media-session service file from POTFILES.skip 2021-10-20 08:55:27 +00:00
KangJing Huang (Chaserhkj)
22aad6eaff Tuning some webrtc parameters 2021-10-19 18:59:07 +00:00
KangJing Huang (Chaserhkj)
2bfc03f43c Allow echo-cancel to select larger buffer sizes 2021-10-19 18:59:07 +00:00
Wim Taymans
002566ae83 test: fix stream ABI test 2021-10-19 17:16:25 +02:00
Wim Taymans
34609389e3 filter: add event to notify command
All commands send to the filter are emited in the command event.
2021-10-19 15:27:14 +02:00
Wim Taymans
dfa3f631ec stream: add event to notify commands 2021-10-19 15:23:20 +02:00
Wim Taymans
1cacb64b19 node: make enum for TYPE_EVENT_Node properties 2021-10-19 15:21:10 +02:00
Wim Taymans
100c12460f client-node: handle events, send them to the server part 2021-10-19 12:28:23 +02:00
Wim Taymans
b4dc04c777 stream: use sizeof instead of hardcoded value 2021-10-19 12:26:02 +02:00
Wim Taymans
b6059fd007 stream: add some debug for commands 2021-10-19 12:25:46 +02:00
Wim Taymans
32c7121e54 impl-node: add method to send a command to a node 2021-10-19 12:24:47 +02:00
Peter Hutterer
6683114e09 po: remove leftover media-session file 2021-10-19 13:27:10 +10:00
Peter Hutterer
98991e7972 doc: fix URL to the media session git repo 2021-10-19 13:25:55 +10:00
Wim Taymans
67209b9ecc resample: add some float math optimization
Multiplying and adding the smaller floats first will reduce the amount
of rounding errors.
2021-10-18 21:19:43 +02:00
Wim Taymans
cc996b6292 resample: use blackman with 0.232 alpha
Gives much better results with less aliasing.
2021-10-18 21:09:16 +02:00
Barnabás Pőcze
4c27c3fd43 pulse-server: use for-each loop
Use `SPA_FOR_EACH_ELEMENT` to enumate the elements
in the array instead of an "indexed" loop.
2021-10-18 15:36:22 +02:00
Barnabás Pőcze
3fefb55ef2 pulse-server: return NULL instead of 0
... to be consistent with the vast majority of the
existing source code.
2021-10-18 15:36:22 +02:00
Barnabás Pőcze
ee7b82ac9e pulse-server: remove unnecessary NULL check
`spa_streq()` already checks for NULL pointers, so the
pointer does not need to be checked before calling it.
2021-10-18 15:36:22 +02:00
Barnabás Pőcze
80ae688cc6 pulse-server: compile extensions separately
Avoid including other C source files. Compile them separately.
2021-10-18 15:36:17 +02:00
Peter Hutterer
b78371f702 tools: update pw-reserve so don't need to include the c file 2021-10-18 20:44:11 +10:00