aaf plugin xrun:1711 error

GitHub issues - opened github at alsa-project.org
Tue Mar 16 15:31:51 CET 2021


alsa-project/alsa-plugins issue #19 was opened from elabbing:

Hello, 
I set 2 host to use aaf plugin for TSN test. I followed TSN-doc guidelines and `aaf.txt` doc.
Simply, after hosts is ready and syncing though `ptp4l, phc3sys, qdisc,`
then I try to run a basic test, no switch between, back to back linked hosts,
obtaining the following error.

```
#Talker
sudo speaker-test -p 12500 -F S16_BE -c 2 -r 48000 -D aaf0

#Listener
sudo arecord -F 25000 -t raw -f S16_BE -c 2 -r 48000 -D aaf0 | \
>         aplay -F 25000 -t raw -f S16_BE -c 2 -r 48000 -D default
Playing raw data 'stdin' : Signed 16 bit Big Endian, Rate 48000 Hz, Stereo
Recording raw data 'stdin' : Signed 16 bit Big Endian, Rate 48000 Hz, Stereo
underrun!!! (at least 24,460 ms long)
arecord: xrun:1711: read/write error, state = RUNNING
```

This error happens after a random period, tipically less than 60sec.
I followed TSN doc settings, but I noticed that value in aaf plugin configuration and cbs qdisc are suggested differrently between aaf.txt doc and TSN doc.

Any prompt to get out of this? 
Many thanks

Issue URL     : https://github.com/alsa-project/alsa-plugins/issues/19
Repository URL: https://github.com/alsa-project/alsa-plugins


More information about the Alsa-devel mailing list