Wim Taymans
936c290cc1
plugins: fix the licence of alsa and jack libraries
...
It's all MIT
2020-02-07 15:43:13 +01:00
Wim Taymans
a1bb1548e6
tests: msg is undefined when _get_next() return != 1
2020-02-07 15:40:28 +01:00
Wim Taymans
42b1e163d7
tests: make benchmarks less busy
...
Reduce iterations of the benchmark so that can finish on slower
devices.
2020-02-07 15:22:35 +01:00
Wim Taymans
9acf592e9c
jack: remove leftover printf debug
2020-02-07 13:33:59 +01:00
Wim Taymans
ed1cf46c31
jack: add jack_get_video_image_size extension
...
Add a JACK PipeWire extension to get the video size of the DSP
pipeline and use this instead of the hardcoded values in the example.
2020-02-07 13:31:49 +01:00
Wim Taymans
14fbd4f520
jack: wait for transport
...
Wait for the transport to be configured before we exit from
client_open. We then have at least an activation or even a driver
set.
2020-02-07 13:30:24 +01:00
Wim Taymans
4d143c5751
command: fix load-module arguments
...
Reparse the arguments and pass all the remaining strings after the
module name as one arguments string.
2020-02-07 13:25:19 +01:00
Wim Taymans
a7e36ddd9d
alsa: split up conf files
2020-02-07 13:24:42 +01:00
Wim Taymans
ae4e17e9a2
Remove old LICENSE files and README
2020-02-07 13:24:06 +01:00
Wim Taymans
4906a172e1
0.2.95
2020-02-07 09:39:14 +01:00
Wim Taymans
88c6db8a82
policy-node: give more priority to newer video output nodes
...
A slight workaround for old firefox that doesn't specify the target
node, nor the media role when doing screen sharing.
2020-02-06 17:42:52 +01:00
Wim Taymans
3aa8e301c5
protocol-native: implement v2 update_permissions
...
Convert the old permission update to new permission events.
2020-02-06 16:57:24 +01:00
Wim Taymans
7a395bccaf
improve v2 compat mode
...
Always send the server types when we got the first client types and
don't rely on the message sequence number.
Add some more types in the typemap.
2020-02-06 16:56:19 +01:00
Wim Taymans
b2dfa83052
pw-cat: print channelmap in verbose mode
2020-02-06 16:50:59 +01:00
Wim Taymans
a4bda2e826
fix missing headers check
...
The include files have moved into a versioned directory
2020-02-05 17:21:12 +01:00
Wim Taymans
7e95897a3b
fmt-ops: fix test for big endian
2020-02-05 17:09:23 +01:00
Wim Taymans
070ca1d588
0.2.94
2020-02-05 16:30:20 +01:00
Wim Taymans
95ecbacfe0
meson: install headers in versioned paths
...
Make sure all headers and plugins are installed in versioned paths
so that we can parallel install versions if we want.
2020-02-05 16:28:22 +01:00
Wim Taymans
d0f69e44cd
command: add -ifexists option to load-module
...
If the module doesn't exist, the error is ignored.
2020-02-05 13:01:13 +01:00
Wim Taymans
8b6a163233
context: set defaults as properties on the context
2020-02-05 11:50:22 +01:00
Wim Taymans
5c4be385ad
jack: only append node id when name already taken
2020-02-05 10:27:37 +01:00
Wim Taymans
5ff970a62e
param: add Control param
...
A control param contains a set of timed events that are applied
in the next cycle.
2020-02-05 10:01:14 +01:00
Wim Taymans
1404cb4182
alsa-pcm: add device to object path
...
Use card id and device in the object path.
2020-02-04 18:01:48 +01:00
Wim Taymans
41b47e726e
context: add some more defaults
...
Make a property to allow mlock and use it.
mlock in stream and filter when asked to mmap mem.
2020-02-04 17:09:41 +01:00
Wim Taymans
dcec3f12b5
remote-node: safely activate and deactivate a link
...
Make sure we execute the admin of the target links in the data
thread.
2020-02-04 16:29:48 +01:00
Wim Taymans
8abbf653e6
pw-cat: Use default channel layout when nothing given
...
Make channel layout definitions a little more useful. We can now
assign them to a layout_info struct or in the raw_info.
Make some default channel layouts for use in pw-cat
2020-02-04 15:54:57 +01:00
Julian Bouzas
25e81d844a
spa: add SPA_PARAM_PORT_CONFIG_control param
...
Needed for nodes with optional configurable control ports.
2020-02-04 13:25:25 +01:00
Wim Taymans
4bd6f5a055
examples: fix some typos and indentation errors
2020-02-04 13:02:38 +01:00
Wim Taymans
50ce87df32
node: we are supposed to produce data when != HAVE_DATA
...
We can produce data whenever the io area status != HAVE_DATA. We
don't need to look for NEED_DATA.
Also recycling buffer happens whenever the status != HAVE_DATA.
2020-02-04 12:59:16 +01:00
Wim Taymans
f9d6a42f63
audiotestsrc: set stride correctly
2020-02-04 12:41:43 +01:00
Julian Bouzas
a5d17ba6d1
spa: add adapter-control example to test audioadapter nodes
...
Example executable that runs an output audioadapter using audiotestsrc as slave
with an input audioadapter using alsa-pcm-sink as slave for easy testing.
2020-02-04 12:00:27 +01:00
Julian Bouzas
1eba8d7f74
spa: add support system so that example-control can play audio
...
The example-control executable does not play audio. This is because
alsa-pcm-sink needs a data system to run. This patch fixes the example by
loading a data system from libspa-support before creating the nodes.
2020-02-04 11:55:28 +01:00
Wim Taymans
1cce9a69c8
pw-cat: add channel-map option and option to delay connect
...
If the target node is set to 0, remove the autoconnect flag. This makes
the session manager disable stream autoconnect and some other program
needs to connect the stream to a sink or node.
Use the channelmap from the file, if available.
Add option to specify/override the channel map for playback.
2020-02-04 11:45:45 +01:00
Wim Taymans
272fd4bd9f
pulse: improve pa_operation compatibility
...
Methods that return a pa_operation should not return NULL.
pa_context_success_cb_t should return 1 on success and 0 on failure
with the error set in the context.
When a global is not found, let the info operation return eol = -1
with the error set in the context.
2020-02-03 16:44:50 +01:00
Wim Taymans
f79dfcd77f
profiler: fix method prototype
2020-02-03 16:44:09 +01:00
Wim Taymans
64391f1ed5
profiler: avoid negative times
2020-02-03 13:14:56 +01:00
Wim Taymans
a4a93a2a16
profiler: Improve profiler info
...
Split the profiler info into multiple properties.
Give feedback about time and logged samples while profiling.
2020-02-03 12:33:01 +01:00
Wim Taymans
bdad7d87f9
global: fix comment and use constant for core id
2020-02-03 12:32:17 +01:00
Wim Taymans
ef965dfc23
meson: install profiler extension
2020-01-31 17:59:30 +01:00
Wim Taymans
6f31a16024
pw-profiler: add some more driver measurements
...
Add estimated period
Add reported driver delay
2020-01-31 17:56:00 +01:00
Wim Taymans
8b303361d8
pw-profiler: avoid copying invalid values
2020-01-31 16:31:35 +01:00
Wim Taymans
afdb6586b5
pw-profiler: various improvements
...
Small cleanups.
Print some useful status info.
Fail when there is no Profiler API found.
Only log data from the first driver we find.
2020-01-31 16:03:05 +01:00
Wim Taymans
f7ed9a5ca7
context: clamp default qantum to min and max
...
When min or max is set in the config file, make sure we clamp the
default to it as well.
2020-01-31 15:49:40 +01:00
Wim Taymans
3317af804b
pw-profiler: add profiler tool
...
Add Profiler object and fields.
Add profiler extension API. It notifies Profiler objects with
real-time performance data.
Add module that implements the profiler extension.
Add pw-profiler tool that binds to the profiler API and dumps the
data into a log file, gnuplot files, a html page and a script to
generate svg graphs. This is almost the same as what JACK2
JackEngineProfiling does.
2020-01-31 15:13:47 +01:00
Wim Taymans
5a47652dc2
node: emit driver start on completion of the graph.
...
This gives better info about the elapsed cycle.
2020-01-31 13:38:46 +01:00
Wim Taymans
43257e8676
graph: make pending/required fields signed
...
So that we can check for negative value.
Also don't signal incomplete graph when we signaled more than
expected, this can happen when we add new nodes in the current
cycle and then triggered the driver.
2020-01-31 13:36:44 +01:00
Wim Taymans
5e5bab4680
jack: don't take clock time as awake timestamp
...
Take a sample from the monotonic clock to generate the AWAKE
timestamp.
2020-01-31 13:35:39 +01:00
Wim Taymans
e7b5bd5e5b
alsa: actually place the delay in clock.delay
2020-01-30 19:32:19 +01:00
Wim Taymans
3d8eaf8e02
ffmpeg: fix install dir
2020-01-30 17:50:45 +01:00
Wim Taymans
cd21f5292b
context: emit events for driver
...
Make new private events to monitor the state of driver nodes. This
can be used to implement profiling.
2020-01-30 17:21:33 +01:00