Can't get snd-aloop in sync with another device
I use dmix+snd-aloop for all local applications; then forwarded to the dmix+Layla3G using a custom C program.
Despite asking for clock sync, they slowly drift. Am I doing something wrong?
$ echo hw:Layla3G,0,0 > /proc/asound/Loopback/timer_source
The forwarder drains its buffer and eventually underruns. Loopback is not providing enough audio to feed Layla3G -- drifts by about 9 samples/second at 48kHz.
This _feels_ like a regression; I'm pretty sure this was perfectly in time before. I'd need to bisect kernel and alsa-lib changes.
Below shows the status during playback/capture.
The timer is definitely connected in some way. It's listed below, and aloop ticking corresponds to whether Layla3G is open by any application (not just the forwarder)
participants (1)
-
Mark Hills