mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
alsa: hook up latencyOffsetNsec in ALSA sink/source
This property is exposed on the device Route and forwarded to the nodes. It then configured the process_latency.ns field, which influences the reported port latency. This makes it possible to change the internal port latency on the sink and source with pavucontrol and tweak the synchronization to compensate for internal latencies in the device.
This commit is contained in:
parent
391465d1cd
commit
c39d374ca8
4 changed files with 125 additions and 18 deletions
|
|
@ -225,6 +225,8 @@ struct acp_device {
|
|||
|
||||
uint32_t n_ports;
|
||||
struct acp_port **ports;
|
||||
|
||||
int64_t latency_ns;
|
||||
};
|
||||
|
||||
struct acp_card_profile {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue