Wim Taymans
8123e271ec
make sure we call va_end in all cases
2020-05-20 15:24:25 +02:00
Wim Taymans
c2028a1695
Fix some leaks in error cases
2020-05-20 15:24:25 +02:00
Wim Taymans
8669fd03a6
initialize variables better
2020-05-20 15:24:25 +02:00
Wim Taymans
ce98162ed2
Make sure we don't read too much
2020-05-20 15:24:25 +02:00
Wim Taymans
236ebeeb68
gst: fix bad unlock when pool acquire fails
...
The mutexs was not locked so don't try to unlock.
2020-05-20 15:24:25 +02:00
Wim Taymans
78aaf6c0bc
gst: only pop and adjust choice when we pushed something
2020-05-20 15:24:25 +02:00
Wim Taymans
eb93f259e0
avoid some useless assignments
2020-05-20 15:24:25 +02:00
Wim Taymans
4f60dcadc6
vulkan: check results of stat
2020-05-20 15:24:25 +02:00
Wim Taymans
f1dc3d9728
vulkan: fix macro variables
2020-05-20 15:24:25 +02:00
Wim Taymans
ff4a314022
use fstat when we can
...
This avoids having things change between the stat and open.
2020-05-20 15:24:25 +02:00
Wim Taymans
45c62dfde6
a2dp: check and log return value of fcntl
2020-05-20 15:24:25 +02:00
Wim Taymans
459acda619
client-node: use spa_system functions
2020-05-20 15:24:25 +02:00
Wim Taymans
a19bab4b16
avoid following NULL pointers
2020-05-20 15:24:25 +02:00
Wim Taymans
a898f21c87
improve debug
...
When we fail to read the eventfd, don't try to use the value.
2020-05-20 15:24:25 +02:00
Wim Taymans
1b2f64917e
format: handle NULL type info
2020-05-20 15:24:25 +02:00
George Kiagiadakis
d2c51ed2fc
ci: publish generated documentation from master on gitlab pages
...
https://pipewire.pages.freedesktop.org/pipewire/
2020-05-19 10:05:53 +03:00
George Kiagiadakis
df818f1e8e
ci: update to use fdo ci-templates, fedora 32 and preserve less artifacts
...
+ also improve the build script, stop using make and do a native
meson/ninja build
+ make it easy to add CI for more distributions later, if needed
2020-05-19 09:53:34 +03:00
George Kiagiadakis
31a3458c93
editorconfig: add exception for yml files that use 2-space indentation
2020-05-19 09:21:55 +03:00
Wim Taymans
98780cdbe1
utils: fix spa_assert_se
2020-05-18 18:59:49 +02:00
Wim Taymans
9e6a047788
portal: add portal module again
...
Add this again for now until we can integrate this into the
session manager somehow.
2020-05-18 16:30:09 +02:00
Wim Taymans
0bb3de0dca
context: clean up permission check
2020-05-18 13:31:00 +02:00
Wim Taymans
2fe9c37f11
core: add some more debug
2020-05-18 12:38:11 +02:00
George Kiagiadakis
5aea6252b4
log: don't re-initialize the log level in pw_init()
...
This allows setting the log level without setting PIPEWIRE_DEBUG
prior to pw_init(). Setting it after is also possible, but we
get to miss some messages that are printed from pw_init()
2020-05-14 16:54:53 +03:00
Wim Taymans
f06a884f29
mididump: dump offset
2020-05-13 15:55:31 +02:00
Wim Taymans
09b6ef41a8
alsa: compare the scaled value to decide on xrun
2020-05-13 15:46:50 +02:00
Wim Taymans
fea16cca14
channelmix: support Midi volume control
2020-05-13 15:41:50 +02:00
Wim Taymans
498cb91750
channelmix: fix enum_params
...
0 should be returned when enum is done or else we loop forever.
2020-05-13 15:41:47 +02:00
Wim Taymans
b4112968cf
log: handle logging of NULL object
2020-05-13 15:41:43 +02:00
Wim Taymans
56730197d9
alsa: report xrun
...
When we record but there is not enough space in the ringbuffer, report
xrun.
2020-05-13 12:09:28 +02:00
Martin Koch
fefdc26f84
plugin: workaround for AVX intrinsic: "_mm256_setr_m128()" missing in GCC
...
Signed-off-by: Martin Koch <martin.koch@ese.de>
2020-05-13 08:53:43 +00:00
Martin Koch
cee1a26be6
build: skip unsupported compiler option
...
-Wimplicit-fallthrough for gcc version before 7.x
Signed-off-by: Martin Koch <martin.koch@ese.de>
2020-05-13 08:11:30 +00:00
Wim Taymans
4000409c80
channelmix: allow smaller control buffers
2020-05-12 18:01:47 +02:00
Wim Taymans
055c8d6b63
channelmix: improve control handling
...
We can't write to the input control buffer so keep track of the
control offset ourselves ans skip what we already handled.
2020-05-12 17:52:06 +02:00
Julian Bouzas
5e37131cf8
channelmix: add control port to process control sequences
...
Channelmix has now a control port that receives control sequences. Each Control
of those sequences are handled individually by channelmix in order to change
properties when a specific amount of samples have been processed.
Co-authored-by: Wim Taymans
2020-05-12 17:51:16 +02:00
Wim Taymans
cab645d155
stream: we can get the index before we are ready
2020-05-12 17:50:24 +02:00
Wim Taymans
8d5571fa4c
audiotestsrc: fix function signature
2020-05-12 17:23:35 +02:00
Wim Taymans
0a54249718
fix error reporting
...
dlopen and dlsym don't set errno
2020-05-12 17:23:30 +02:00
Wim Taymans
fdb3985f1a
client-node: handle NULL port
...
Don't try to remove an already removed port.
2020-05-12 10:12:28 +02:00
Wim Taymans
a7d8e805ac
stream: do some extra checks
2020-05-11 14:16:19 +02:00
Wim Taymans
ba215efed0
0.3.5
2020-05-11 13:35:32 +02:00
Wim Taymans
df8ad59e37
stream: fix writable size when no timing info received
...
Always report that we can write a buffer, even when we have
not yet received timing info. Fixes stalled spotify.
Fixes #238
2020-05-11 11:30:24 +02:00
Wim Taymans
653ae96b20
pipewiresrc: set corrupted flag
...
See #72
2020-05-09 19:46:14 +02:00
Wim Taymans
42af40675d
v4l2: mark data CORRUPTED
...
We need to mark the data corrupted in the chunk, not buffer flags.
2020-05-09 19:38:16 +02:00
Wim Taymans
8dcd6c4417
improve debug
2020-05-09 19:21:55 +02:00
Wim Taymans
011992e774
meson: try to compile a little NEON program to be sure
...
Fixes #235
2020-05-08 22:12:24 +02:00
Wim Taymans
e6ccc72feb
fix compiler warnings
2020-05-08 20:40:02 +02:00
Wim Taymans
729343f59b
impl-link: don't use NEAREST flag until we support it
2020-05-08 17:53:20 +02:00
Wim Taymans
1ca7713057
implement NEAREST flag
...
when the NEAREST flag is set and the param could not be completely
set, set_param should return 1 to indicate this.
2020-05-08 17:52:30 +02:00
Wim Taymans
955e1a6a18
impl-link: debug all kinds of negotiation errors
2020-05-08 17:37:02 +02:00
Wim Taymans
12b8e095c7
v4l2: log error when format doesn't match
2020-05-08 17:35:57 +02:00