Fix Pulseaudio latency calculation