Wim Taymans
77651881f7
improve debug
2019-01-10 11:00:50 +01:00
Wim Taymans
2f6c85cda1
remote: buffer id is now just the index of the buffer
...
Buffer id is only used internally as the index of the buffer
that was given to us by use_buffer or alloc_buffer
2019-01-10 10:20:26 +01:00
Wim Taymans
62672f4d23
v4l2: set buffer id correctly
2019-01-10 10:20:08 +01:00
Wim Taymans
66bab1d9b2
remote: remove some events
...
Remove some events from the remote that we can find on the core_proxy.
Use the core_proxy to get to the done and info events.
Remove pw_remote_get_core_info(), we don't need this anymore now that
we don't listen for the event and the user can keep track of this
herself.
2019-01-10 10:08:14 +01:00
Wim Taymans
349a11cde5
add const to info
2019-01-09 17:49:45 +01:00
Wim Taymans
8fa6126599
rtkit: improve DISABLE_RTKIT
...
DISABLE_RTKIT should not even try to get the dbus connection or
anything.
2019-01-09 11:24:48 +01:00
Wim Taymans
714178b1e4
meson: add module dir directory for tests
2019-01-09 10:54:56 +01:00
Wim Taymans
69b7c18718
tests: add more tests
2019-01-09 10:48:18 +01:00
Wim Taymans
23c439fd66
meson: set spa plugin dir
2019-01-08 17:56:20 +01:00
Wim Taymans
b5a7891ee1
tests: add more tests
2019-01-08 17:38:34 +01:00
Wim Taymans
1ed27a8f2b
add _GNU_SOURCE as compiler flag
2019-01-08 17:36:58 +01:00
Wim Taymans
57e0a94163
add const to info changes
2019-01-08 17:34:32 +01:00
Wim Taymans
979d155382
core: add user_data to core
2019-01-08 17:32:37 +01:00
Wim Taymans
fb5ae6df43
tests: add array test
2019-01-08 13:40:41 +01:00
Wim Taymans
e23deae087
meson: install permission.h header
2019-01-08 13:00:48 +01:00
Wim Taymans
2c571cddf5
tests: add c++ include test
2019-01-08 13:00:24 +01:00
Wim Taymans
b497ae9792
spa: install missing headers
2019-01-08 12:26:32 +01:00
Wim Taymans
f8556f1a08
make c++ optional
2019-01-08 12:18:45 +01:00
Wim Taymans
3e77e9bf99
test: add c++ test
2019-01-08 11:59:05 +01:00
Wim Taymans
d12148cfba
graph: remove scheduler2
...
Move graph code into graph.h
2019-01-08 11:56:44 +01:00
Wim Taymans
b0f4be5fbc
fix more compile errors
...
Avoid void * arithmetic
Do explicit casts to target type to make c++ happy
2019-01-08 11:53:36 +01:00
Wim Taymans
3fa2ad33e4
fix warnings
2019-01-08 09:30:40 +01:00
Wim Taymans
7f0d5a1c10
fix compilation
2019-01-07 18:21:01 +01:00
Wim Taymans
b95584c312
plugins: fix warnings
2019-01-07 18:14:04 +01:00
Wim Taymans
44cb131269
meson: enable more warnings
2019-01-07 18:02:36 +01:00
Wim Taymans
19e4b04939
add more tests
2019-01-07 18:01:44 +01:00
Wim Taymans
5b7ddb0105
buffer: remove buffer id
...
The buffer id is not needed/used, we use the index of the buffer in the
buffer array when configuring the port.
2019-01-07 17:57:03 +01:00
Wim Taymans
e918f9f77c
fix sign confusion
2019-01-07 15:52:42 +01:00
Wim Taymans
74e5f9fbcf
fix function types
2019-01-07 15:48:06 +01:00
Wim Taymans
098b80aa0c
protocol: pass state as id
2019-01-07 15:39:59 +01:00
Wim Taymans
de796d34ad
pod: handle pod copy failure
...
Don't check NULL in pw_spa_pod_copy so that we can check for allocation
failures when the functions returns NULL.
2019-01-07 15:36:19 +01:00
Wim Taymans
7cd55c2c6b
fix switch fallthrough cases
2019-01-07 15:11:34 +01:00
Wim Taymans
9573b24e52
cpu: add force cpu flags
...
Use PIPEWIRE_CPU to force cpu flags.
2019-01-07 15:02:18 +01:00
Wim Taymans
1ca7704d64
type-info: fully initialize structs
2019-01-07 13:56:08 +01:00
Wim Taymans
2c4bffec74
fmt-ops: small optimizations
2019-01-07 13:49:52 +01:00
Wim Taymans
3cfd1e6cf1
compare: fix sign for compare of id
2019-01-07 13:41:10 +01:00
Wim Taymans
dbbcd3fdc4
defs: add SPA_LIKELY to MIN/MAX/CLAMP macros
2019-01-07 13:39:57 +01:00
Wim Taymans
5ef6a5cc5a
update submodule
2019-01-04 10:01:57 +01:00
Wim Taymans
3480765561
parser: add more parser helpers
2019-01-04 10:00:12 +01:00
Wim Taymans
a41624d48b
iter: make iteration safer
...
Check if the pod size is within the parent pod size
2019-01-04 09:59:33 +01:00
Wim Taymans
f246c7b8ef
parser: add more parser helpers
2019-01-03 17:43:07 +01:00
Wim Taymans
ba7b2d8c21
meta: clarify the meaning of hotspot when no bitmap
2019-01-03 17:28:25 +01:00
Wim Taymans
8984c6f48d
meta: document fields some more
2019-01-03 17:18:12 +01:00
Wim Taymans
2a252abf50
fmt-ops: small optimization
2019-01-03 11:36:44 +01:00
Jan Grulich
238be61364
Avoid invalid conversion error with C++ compilators
2019-01-03 11:13:08 +01:00
Wim Taymans
0e91276a03
fmt-ops: SSE functions were really SSE2
...
The SSE functions used integer operations and were really SSE2 so
rename.
Optimize some more.
2018-12-20 16:11:25 +01:00
Wim Taymans
d2bcbdf9cf
resample: fix unrolled counter
2018-12-20 12:01:45 +01:00
Wim Taymans
0c0bf3a62a
thread-loop: fix leak of event
...
Destroy the event when the loop is destroyed
2018-12-20 10:36:20 +01:00
Wim Taymans
52a3a0c175
thread-loop: improve error checking
2018-12-20 10:36:14 +01:00
Wim Taymans
0984096089
free() can handle NULL just fine so skip the check
...
Fixes #117
2018-12-19 17:47:25 +01:00