mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
loopback: Add hooks to track port latency offsets
The previous patch assumed constant port latency offsets. The offsets can however be changed by the user, therefore these changes need to be tracked as well. This patch adds the necessary hooks. Also the print_msg argument was removed from update_minimum_latency() and update_latency_boundaries() because the message should always be logged.
This commit is contained in:
parent
6f2e22e7ad
commit
5bc363d4b8
4 changed files with 45 additions and 13 deletions
|
|
@ -75,6 +75,7 @@ typedef enum pa_core_hook {
|
|||
PA_CORE_HOOK_SINK_FLAGS_CHANGED,
|
||||
PA_CORE_HOOK_SINK_VOLUME_CHANGED,
|
||||
PA_CORE_HOOK_SINK_MUTE_CHANGED,
|
||||
PA_CORE_HOOK_SINK_PORT_LATENCY_OFFSET_CHANGED,
|
||||
PA_CORE_HOOK_SOURCE_NEW,
|
||||
PA_CORE_HOOK_SOURCE_FIXATE,
|
||||
PA_CORE_HOOK_SOURCE_PUT,
|
||||
|
|
@ -86,6 +87,7 @@ typedef enum pa_core_hook {
|
|||
PA_CORE_HOOK_SOURCE_FLAGS_CHANGED,
|
||||
PA_CORE_HOOK_SOURCE_VOLUME_CHANGED,
|
||||
PA_CORE_HOOK_SOURCE_MUTE_CHANGED,
|
||||
PA_CORE_HOOK_SOURCE_PORT_LATENCY_OFFSET_CHANGED,
|
||||
PA_CORE_HOOK_SINK_INPUT_NEW,
|
||||
PA_CORE_HOOK_SINK_INPUT_FIXATE,
|
||||
PA_CORE_HOOK_SINK_INPUT_PUT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue