Audio latency is too high with M-Audio FireWire 410 sound card
If you are filing this issue with a regular release please try master as it might already be fixed.
Version, Distribution, Desktop Environment: Pipewire 0.3.32, Manjaro GNOME
Description of Problem: Although having set an latency of 64/48000 and a period size of 128 samples, I perceive a much higher latency when playing virtual instruments plugins - I would say more 10ms, because it's noticeable. This happens only with my M-Audio FW410 firewire card. With my internal sound card and my USB sound card, the latency is fine. Looking at pw-top confirms that the quantum is indeed set to 64 samples.
How Reproducible: Play any virtual instrument as a standalone or inside a host (Carla or Ardour).
Steps to Reproduce:
- Set the property node.latency = 64/48000 in /etc/pipewire/jack.conf
- Set the property api.alsa.period-size = 128 in /etc/pipewire/alsa-monitor.conf
- Restart pipewire and play a virtual instrument ( or use jack_iodelay as suggested by @berthold.crysmann )
Actual Results: Latency is perceptibly higher than it should be (if I can hear it when playing the piano, then it's surely above about 10 ms)
Expected Results: Latency in the order of (period-size/quantum)*(quantum)/(sampling-rate) = (128/64)*64/48000 = 2.7 ms