Commit graph

3928 commits

Author SHA1 Message Date
Wim Taymans
f02c339645 Improve debug
Dump enum_params of failed format and buffer negotiation to error log.
2020-05-07 17:15:43 +02:00
Wim Taymans
97c8e674ac command: add log.level property
Support setting the log level from the config file.
2020-05-07 17:15:39 +02:00
Wim Taymans
3712ebc434 proxy: fix cleanup
Keep track if the proxy is still in the core object map or not
and make sure to only delete it once.

In _remove, just remove the item from the object map if the proxy
is destroyed. There is no need to call _proxy_destroy again (and
do the extra unref)
2020-05-07 17:09:07 +02:00
Wim Taymans
2c13b3ecd2 client-node-v0: return -ENOENT when parameter not found 2020-05-07 10:42:19 +02:00
Wim Taymans
91ef2fc68c man: add metadata man page 2020-05-06 17:12:01 +02:00
Wim Taymans
55d75fb075 tools: add pw-metadata tool
Add tool to inspect, monitor, set and delete metadata keys.
2020-05-06 15:57:12 +02:00
Wim Taymans
649448fb5f array: add and use pw_array_consume 2020-05-06 15:56:31 +02:00
Wim Taymans
720b7b5c6a metadata: emit removed messages from clear
Consume the array until we have removed all subjects.
2020-05-06 15:47:14 +02:00
Wim Taymans
9174e5ca20 parser: handle SPA_POD_None() in parser
SPA_POD_None will have a NULL as the destination address of the pod
value, so don't try to write to that.
2020-05-06 15:45:19 +02:00
Wim Taymans
d6b1342bab meson: always build pw-mididump 2020-05-06 12:31:18 +02:00
Wim Taymans
28d47c79f0 link: also recalculate graph when a prepared link is destroyed 2020-05-06 11:37:44 +02:00
Wim Taymans
995fafa5be alsa-seq: remove the queue for system announce port
The announce messages are not put in a queue so we don't need
to allocate one (and a timer). Without the timer, we avoid wakeups
and consume less power.

See #225
2020-05-06 11:19:46 +02:00
Michael Tretter
52c14e2378 gst: keep track of queued buffers
Pipewire might update buffers that have not been recycled by GStreamer,
because they are still used downstream. There is nothing we can do about
it in the pipewiresrc.

If a buffer is sent downstream more than once, take an additional
reference to make sure that we don't queue a buffer that is still used
and print a warning.
2020-05-05 13:53:02 +00:00
Wim Taymans
8adc4ad3b6 man: complete pw-cat man page 2020-05-05 12:30:37 +02:00
George Kiagiadakis
283d7f6e9b session-manager: fix typo in key 2020-05-05 10:07:44 +03:00
Wim Taymans
4e9fd6633b node: rate-limit the graph warnings 2020-05-04 16:49:32 +02:00
Wim Taymans
9049f1fdbb spa-node: don't warn on properties
When the node does not support enum_params or when the Props param
is not supported, suppress the warning.
2020-05-04 13:02:30 +02:00
Wim Taymans
3c7186cfd6 INSTALL: update with info about jack plugin 2020-05-04 10:00:24 +02:00
Wim Taymans
ab03e3230e man: add pw-dot man page
Fix some arguments to parameters
2020-05-03 21:08:01 +02:00
Wim Taymans
3dc0602650 man: add mididump man page 2020-05-03 20:50:38 +02:00
Wim Taymans
8fe5b58686 pw-mididump: add getopt 2020-05-03 20:48:42 +02:00
Wim Taymans
ed2d6b2cce pulse: only find links to source or sink
Those are the only links we care about in the sink_input or
source_output info.
2020-05-03 18:49:10 +02:00
Wim Taymans
6d5563a978 tools: add tool to dump midi messages 2020-05-03 11:51:51 +02:00
Wim Taymans
713f242853 audioadapter: handle -ENOENT from enum_param 2020-05-03 11:45:06 +02:00
Wim Taymans
22cc1f903f stream: clean up enum_params 2020-05-03 11:43:56 +02:00
Wim Taymans
2efa3f00ac return -ENOENT when param doesn't exist 2020-05-03 10:13:50 +02:00
Wim Taymans
f46cbd2ac2 man: add pw-cat beginnings 2020-05-03 07:25:28 +02:00
Wim Taymans
3037dd6b48 update man pages. 2020-05-02 20:19:20 +02:00
Wim Taymans
b9bb318cb7 alsa: install conf files 2020-05-02 10:43:10 +02:00
Wim Taymans
7a7527bc90 Update README.md 2020-05-02 08:16:03 +00:00
Wim Taymans
f043ed86d9 update with jack and pulse install instructions 2020-05-02 10:12:08 +02:00
Wim Taymans
d8de4f3b9f Update docs a bit 2020-05-01 20:29:40 +02:00
Wim Taymans
5b9e82c4e8 pw-cat: add pw-midiplay and pw-midirecord aliases 2020-05-01 11:35:51 +02:00
Wim Taymans
f11cd32258 node: improve warnings
Make separate warnings for read failure and xrun
2020-05-01 11:24:14 +02:00
Wim Taymans
940ff7f53b client-node: improve error reporting
Separate read failure and missed wakeup in 2 messages.
2020-05-01 11:23:54 +02:00
Wim Taymans
e83bf8a33f log: use printf attribute for log fallback
Fixes #233
2020-05-01 11:18:28 +02:00
Wim Taymans
979a81a70d meson: add -Wformat
cc1: warning: ‘-Wformat-security’ ignored without ‘-Wformat’ [-Wformat-security]

Fixes #234
2020-05-01 11:05:38 +02:00
Wim Taymans
08543384f1 uninstalled: symlinks are not needed anymore 2020-05-01 11:05:08 +02:00
Wim Taymans
33398d7de8 0.3.4 2020-04-30 17:55:54 +02:00
Wim Taymans
3324a15fe3 protocol: use bool for Bool pod 2020-04-30 17:12:20 +02:00
Wim Taymans
c117ca0899 jack: fix unlock 2020-04-30 16:18:40 +02:00
Wim Taymans
420c186124 jack: also sync position area with data thread 2020-04-30 16:15:22 +02:00
Wim Taymans
0fd46d057e remote: free io area after we set the new area
First set the new area, then destroy the old one. Otherwise the
data thread might still be using the old area and crash.
2020-04-30 16:13:50 +02:00
Wim Taymans
dc331aa562 add more warnings and fix one 2020-04-30 16:07:23 +02:00
Wim Taymans
002bcae856 0.3.3 2020-04-30 13:46:39 +02:00
Wim Taymans
ac9f2a020f filter: make sure to sync the position with data thread 2020-04-30 13:46:39 +02:00
Wim Taymans
8141c92dde jack: free some objects 2020-04-30 13:11:01 +02:00
Wim Taymans
30d5a247e1 jack: improve locking
Protect the global metadata with a lock because we update this from
multiple clients. Avoid updating the metadata if it didn't change.

Add a simple lock to protect the session objects, they could be
accessed from the main thread or data thread. Use the simple lock
in methods that just read.

Use the new data loop invoke to make sure we sync the data update
with the data thread.

Stop the data loop when our position io is removed.
2020-04-30 12:57:56 +02:00
Wim Taymans
acd9991bfc remote-node: remove unused position area 2020-04-30 11:55:46 +02:00
Wim Taymans
cec26494f8 data-loop: add function to invoke
Add function that invokes the given function in the context of the
thread or the caller thread depending on if the thread is running.
2020-04-30 11:54:15 +02:00