- 31 May, 2021 4 commits
-
-
Wim Taymans authored
-
Wim Taymans authored
Check if the port has latency param and only try to set the latency param when it appears available. This avoids sending unknown latency params to an old client and erroring out.
-
-
This isn't hooked up and takes a bit of effort to hook up across the tree. Let's remove the define so it doesn't look like we're doing something.
-
- 30 May, 2021 1 commit
-
-
Evgeniy Khramtsov authored
RLIMIT_RTTIME is Linux specific, there is no equivalent replacement for FreeBSD. Save trouble and build module-rt for Linux only, rtkit WIP fork should be fine on FreeBSD for now.
-
- 29 May, 2021 2 commits
-
-
Barnabás Pőcze authored
If `struct pw_map::free_list` is not initialized to `SPA_ID_INVALID`, then `pw_map_insert()` will try to read `map->items.data[0]` when inserting the first element, but `data` is a `NULL` pointer after initialization.
-
Wim Taymans authored
-
- 28 May, 2021 10 commits
-
-
Bao, Huang-Huang authored
Don't look up codecs dependencies and don't include 'bluez5' subdir if 'bluez5' option is disabled or libbluetooth is not found. See !707.
-
Bao, Huang-Huang authored
-
Bao, Huang-Huang authored
-
Wim Taymans authored
Emitting events using the listener_list can not be done from multiple threads at the same time. For this reason, make a copy of the events with the process event and call it explicitly from the data thread. See #1122
-
Wim Taymans authored
Based on patch by Peter Hutterer Fixes !701
-
enabled
-
If the message was too long, then the `vsnprintf()` call would fill up `location`, leaving no space for the color escape sequence and the newline, causing a stack buffer overrun here: size += snprintf(p + size, len - size, "%s\n", impl->colors ? suffix : ""); Fix that by reserving the last 24 bytes of the message buffer.
-
Wim Taymans authored
When the plugins can't be loaded, we fail to make a main_loop. Handle this case instead of segfaulting. See #1239
-
Wim Taymans authored
-
Wim Taymans authored
Set a limit on the buffer size. Announce our latency on the streams.
-
- 27 May, 2021 23 commits
-
-
Barnabás Pőcze authored
Add support for listening on IPv6 addresses. The following address formats are supported: * tcp:[<ipv6-addr>]:<port>, * tcp:<ipv4-addr>:<port>, * tcp:<port>, and * unix:<path>. The IP addresses are parsed using `inet_pton()`, only the formats supported by that function are accepted. The IPv6 address must be surrounded by square brackets, they do not mean "optional" here. Specifying only the port is equivalent to the following two addresses: * [::]:<port>, and * 0.0.0.0:<port>. Address parsing has been made stricter: the port must always be specified explicitly. Fixes #1216.
-
Barnabás Pőcze authored
Use `PW_PROTOCOL_PULSE_DEFAULT_PORT` from pulse-server.h instead of hard-coding the default port.
-
Wim Taymans authored
If nothing else is possible, also try to upmix from FC See #1237
-
Wim Taymans authored
-
Wim Taymans authored
Keep both input and output latency on the ports. When setting the port latency only apply the rate latency values and assume the node latency does not depend on buffer-size or time. This is likely true because jack only knows about latency relative to the rate.
-
Wim Taymans authored
But only emit latency changes for the latency matching the port.
-
Wim Taymans authored
It combines all latency from one direction and sets it as the latency for the other direction. Also keep only one latency value per port, in the object.
-
Wim Taymans authored
We already check for 0 as the undefined value in the combine function.
-
Wim Taymans authored
-
Wim Taymans authored
-
Wim Taymans authored
Rework the param handling a little. Keep properties for ports. Use this in the client and port info. Trigger the latency callback when the port latency changed. Update the port latency when it changed.
-
Wim Taymans authored
Intercept the latency param and pass it on the right stream.
-
Wim Taymans authored
Handle the latency param and remember the latency. Add the latency to the delay value in the time. Also make it possible to add custom Latency params.
-
Wim Taymans authored
Trigger a recalculation of the port latency when the peer port latency changed. This makes the latency update from a port propagate through the pipeline.
-
Wim Taymans authored
Emit the latency changed event when the latency was updated.
-
Wim Taymans authored
We need to use the latency param of the port direction to configure the other port.
-
Wim Taymans authored
Add more fields to the latency object. Add methods to create, parse and process latency info.
-
Wim Taymans authored
-
Wim Taymans authored
Implement a port recalculate latency method that takes the min and max latency of all peer ports and sets that as the new port latency. When a link is made, let the output and input port recalculate latencies. Pass latency param in audioconvert.
-
Wim Taymans authored
Listen for the latency updates on ports and use this to report latency.
-
Wim Taymans authored
Implement latency reporting in alsa Implement latency reporting on audioconf by passing on the latency from the follower to outside of the adapter.
-
Wim Taymans authored
Add a new latency param that contains a latency object. The latency object contains the min and max delay from a port to the terminal sink/source. It is also possible to express this delay as a fraction of the quantum to avoid having to recalculate the latency every time the quantum changes.
-
Wim Taymans authored
When we add a new listener to an object, it will emit the full state of the object. For this it temporarily sets the change_mask to all changes. Restore the previous state after this or else we might not emit the right change_mask for the next listener. Consider the case where one there are two listeners on an object. The object emits a change and the first listener wants to enumerate the changed params. For this is adds a new listener and then triggers the enumeration. If we set the change_mask to 0 after adding the listener, the second listener would get a 0 change_mask and fail to update its state.
-