mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
port: implement latency_changed event
Emit the latency changed event when the latency was updated.
This commit is contained in:
parent
0222e408e0
commit
cd58c51582
3 changed files with 10 additions and 4 deletions
|
|
@ -731,6 +731,7 @@ struct pw_impl_port_implementation {
|
|||
#define pw_impl_port_emit_control_added(p,c) pw_impl_port_emit(p, control_added, 0, c)
|
||||
#define pw_impl_port_emit_control_removed(p,c) pw_impl_port_emit(p, control_removed, 0, c)
|
||||
#define pw_impl_port_emit_param_changed(p,i) pw_impl_port_emit(p, param_changed, 1, i)
|
||||
#define pw_impl_port_emit_latency_changed(p) pw_impl_port_emit(p, latency_changed, 2)
|
||||
|
||||
#define PW_IMPL_PORT_IS_CONTROL(port) SPA_FLAG_MASK(port->flags, \
|
||||
PW_IMPL_PORT_FLAG_BUFFERS|PW_IMPL_PORT_FLAG_CONTROL,\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue