Wim Taymans
e9b62c0ce6
v0: set media class
...
Set the media class on the client-node after we know the number of
ports.
Add more type mappings
Fix change_mask on core_info
2019-12-17 17:34:10 +01:00
Wim Taymans
59c92bddba
policy-ep: allow linking to nodes
...
When the target node or target endpoint is specified, try to
link to it.
2019-12-17 15:58:43 +01:00
Wim Taymans
d67d012362
audioadapter: loop until we have data
...
Keep caling the slave processing function until we have data from
the converter or until no process can be made.
2019-12-17 15:11:31 +01:00
Wim Taymans
58a7e18ed5
audioadapter: set data flags
2019-12-17 15:08:39 +01:00
Wim Taymans
096db6d87d
link: set the object id correctly
...
Before using the param from EnumFormat as a format param, set the
object ID to PARAM_Format to avoid confusion later on. Clients might
use the object id to enumerate parameters and then fail to enumerate
the current Format because the id is wrong.
2019-12-17 11:35:28 +01:00
Wim Taymans
d3f4dda51b
client-node: improve debug
2019-12-17 11:35:04 +01:00
Wim Taymans
05f93cd750
media-session: improve cleanup
2019-12-17 10:47:31 +01:00
Wim Taymans
98c81fff93
proxy: only call destroy once
...
Make sure only emit destroy once by making the proxy a zombie
from the first call to destroy. Also make sure we don't call destroy
twice without remove.
2019-12-17 10:44:22 +01:00
Wim Taymans
3c846fbb1d
v4l2: add v4l2 endpoints
...
Monitor and add endpoints for the v4l2 nodes.
2019-12-16 13:39:42 +01:00
Wim Taymans
f06fc5a62b
media-session: add sync_update
...
Add method to only emit the update event when all actions up to
the sync point completed.
Update the available bits on NODES/PORTS/STREAMS/ENDPOINTS
2019-12-16 13:38:16 +01:00
Wim Taymans
c7456d579a
alsa-endpoint: fix stream names
2019-12-16 13:35:41 +01:00
Wim Taymans
2242c4bab2
stream-monitor -> stream-endpoint
2019-12-16 11:57:58 +01:00
Wim Taymans
5cfb155827
policy: link endpoints based on direction and media
2019-12-16 11:27:19 +01:00
Wim Taymans
cc139a07bb
v4l2-monitor: clean up names
2019-12-16 10:45:29 +01:00
Wim Taymans
1bca1b15ea
context: add object store
...
Add method to set and get typed objects from the context. This can
be used to pass around context objects between modules without having
to register them.
2019-12-16 10:28:18 +01:00
Wim Taymans
6cf6af6620
array: add multistatement macro in parenthesis
2019-12-16 10:12:50 +01:00
Philippe Normand
0d87b32f0e
pw-uninstalled: Don't override environment variables
...
LD_LIBRARY_PATH and GST_PLUGIN_PATH might be set already in the parent shell.
2019-12-15 14:51:15 +00:00
Philippe Normand
efd68e3cc1
pw-uninstalled: Add tools directory to $PATH
2019-12-15 14:34:56 +00:00
George Kiagiadakis
a81f920fad
ci: export XDG_RUNTIME_DIR when running the tests
...
Recent changes make some tests start an internal pipewire server,
which requires XDG_RUNTIME_DIR to create the socket file
2019-12-13 12:24:58 +00:00
Wim Taymans
f69a4feced
install impl.h
2019-12-13 13:24:17 +01:00
Wim Taymans
b681286362
pod: Use private names for variable in macros
...
Fixes #197
2019-12-13 13:13:22 +01:00
Wim Taymans
7c3d58a909
media-session: remove object when proxy is destroyed
2019-12-13 12:34:14 +01:00
Wim Taymans
698ab911c3
loop: pass spa_dict to *_loop_new
...
Make the thread_loop alloc its own loop by default to simplify
some core. Add extra new_full method to pass a custom pw_loop.
Make other loop implementations ready to support custom loops
if we want that later.
2019-12-13 11:34:25 +01:00
Wim Taymans
828bd30879
handle policy_core destroy
2019-12-13 11:27:23 +01:00
Wim Taymans
1317ca140c
pass spa_dict around as config
...
Don't pass pw_properties around when we simply need to pass around
config info, only use pw_properties when used to construct an object
that keeps the properties.
2019-12-13 11:26:05 +01:00
Wim Taymans
3eec3f5abf
proxy: don't remove ourselves from a destroyed core
...
The core will clear (or have cleared) all the proxies.
2019-12-13 11:00:41 +01:00
Wim Taymans
f724319e8a
context: move core implementation to impl-core.h
...
Move the core implementation to a separate file. Make a default
core object in the context.
Pass impl-core to server. We now tie the server to a core. Also
keep track of the core that a client connected to.
Fill the properties that we usually use to connect in the context
and copy them when a connection is made.
Use "internal" as the remote name to connect to the default
internal core.
2019-12-12 16:34:01 +01:00
Wim Taymans
a1451fd820
keys: rename key for the module profile
2019-12-12 16:32:44 +01:00
Wim Taymans
7a69c07afc
properties: add pw_properties_add(_keys)
...
Add method to only add properties when they don't already exist.
2019-12-12 16:28:27 +01:00
Wim Taymans
3e1eeb1c03
filter: handle context allocation failure
2019-12-12 16:27:33 +01:00
Wim Taymans
2a142edadb
pw_impl_port_new -> pw_context_create_port
2019-12-11 18:07:03 +01:00
Wim Taymans
930b595724
pw_impl_node_new -> pw_context_create_node
2019-12-11 17:59:00 +01:00
Wim Taymans
6043a3f8c0
pw_impl_device_new -> pw_context_create_device
2019-12-11 17:56:24 +01:00
Wim Taymans
c3f6524120
pw_impl_link_new -> pw_context_create_link
2019-12-11 17:54:27 +01:00
Wim Taymans
e96bdc6bd9
pw_impl_client_new -> pw_context_create_client
2019-12-11 17:52:15 +01:00
Wim Taymans
310077438b
pw_impl_factory_new -> pw_context_create_factory
2019-12-11 17:50:27 +01:00
Wim Taymans
bc0dcd2e34
pw_impl_module_load -> pw_context_load_module
2019-12-11 17:40:32 +01:00
Wim Taymans
3084809bed
context: move pw_context_find_factory to impl
2019-12-11 17:34:05 +01:00
Wim Taymans
73eea24443
impl-client: improve constructor
...
Pass the protocol in constructor
Keep the link in the server protocol list private to the prototol.
2019-12-11 17:19:12 +01:00
Wim Taymans
d99b1918ed
small cleanups
2019-12-11 16:51:38 +01:00
Wim Taymans
3805d5dfa2
pw_endpoint_stream_proxy -> pw_endpoint_stream
2019-12-11 16:48:00 +01:00
Wim Taymans
9b53c65c72
pw_endpoint_proxy -> pw_endpoint
2019-12-11 16:43:53 +01:00
Wim Taymans
85103d128e
pw_session_proxy -> pw_session
2019-12-11 16:39:24 +01:00
Wim Taymans
3c737cf39c
pw_endpoint_link_proxy -> pw_endpoint_link
2019-12-11 16:36:12 +01:00
Wim Taymans
94ed9c8e38
pw_client_endpoint_proxy -> pw_client_endpoint
...
pw_client_session_proxy -> pw_client_session
2019-12-11 16:31:58 +01:00
Wim Taymans
743450a19f
pw_client_node_proxy -> pw_client_node
2019-12-11 16:13:46 +01:00
Wim Taymans
c23006fcdb
pw_port_proxy -> pw_port
2019-12-11 15:59:26 +01:00
Wim Taymans
beb3c69dfe
pw_node_proxy -> pw_node
2019-12-11 15:26:11 +01:00
Wim Taymans
199fa47216
pw_module_proxy -> pw_module
2019-12-11 15:16:30 +01:00
Wim Taymans
e633e205c2
pw_link_proxy -> pw_link
2019-12-11 15:11:56 +01:00