A GNOME session over RDP, made usable (2): sound that crackled when the screen moved
The sound popped only while something scrolled. The video encoder was not too slow for the sound: the sound was waiting for the encoder, twice, through a lock and through a queue. Two small changes took the sound delay from 159 ms to 7 ms and stopped the lost samples.