Dne 24.10.2018 v 10:01 frederik@xxxxxxx napsal(a): > Dear Mark (cc'ing ALSA-user, ALSA-devel) > > Thank you for your tutorial > > http://www.pogo.org.uk/~mark/trx/streaming-desktop-audio.html > > I found it helpful and clearly-written (although missing a "}" brace > and I think it should be "-P" instead of "-p"...). > > I got as far as trying the 'alsaloop' example. It seems very finicky, > sometimes I am able to play a test.wav cleanly through the loopback > device, and sometimes there are a lot of crackles and I get errors > like > > playback hw:0: change avail_min=2968 > playback hw:0: change avail_min=2972 > playback hw:0: change avail_min=2976 > underrun for playback hw:0 > last write before 9.8370ms, queued 10.0000ms/0.0000ms -> missing -0.1630ms > expected 10.0000ms, processing 0.1910ms, max missing 0.0443ms > last wake 0.0350ms, last check 0.0350ms, avail_min 32.0000ms > max buf 40.0000ms, pfilled 0.0000ms, cfilled 10.0000ms > job started before 0.0110ms Could you retest with the latest? I tried to fix the avail_min issue here: http://git.alsa-project.org/?p=alsa-utils.git;a=commitdiff;h=8bc1bc53d0a8b3797337bddd30cd345ba1049817 Jaroslav -- Jaroslav Kysela <perex@xxxxxxxx> Linux Sound Maintainer; ALSA Project; Red Hat, Inc. _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user