mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
device-port: Change the latency offset type to a signed int.
The latency offset type should be signed (int64_t) so we can also add a negative latency offset. This also includes changing the type of the sink/source offsets and updating pacmd so it handles negative numbers.
This commit is contained in:
parent
f6e4bfbbc5
commit
bf4091dcf8
7 changed files with 40 additions and 20 deletions
|
|
@ -114,7 +114,7 @@ void pa_device_port_hashmap_free(pa_hashmap *h) {
|
|||
pa_hashmap_free(h, NULL, NULL);
|
||||
}
|
||||
|
||||
void pa_device_port_set_latency_offset(pa_device_port *p, pa_usec_t offset) {
|
||||
void pa_device_port_set_latency_offset(pa_device_port *p, int64_t offset) {
|
||||
uint32_t state;
|
||||
|
||||
pa_assert(p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue