Skip to contentSkip to conversation

aaf plugin xrun:1711 error

DISCUSSION GitHub issues - opened 1 participant 1 message Mar 16, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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