ALSA: fix time measurements
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.
Showing
Please register or sign in to comment