Skip to content
  • Rémi Denis-Courmont's avatar
    ALSA: fix time measurements · 8c348652
    Rémi Denis-Courmont authored
    The latency needs to be returned also when not (yet) running to start
    playback on time (the audio output core inserts zeroes accordingly).
    
    Also, then there is no point to using PCM status, as only one single
    parameter is used. This simplifies the code and works around a bug
    (probably in ALSA plugin framework) whereby delay was always zero
    when using the ALSA<->PulseAudio I/O plugin.
    8c348652