stream == SND_PCM_STREAM_PLAYBACK ? _("underrun") : _("overrun"),
sujith kumar reddy
sujithreddy6192 at gmail.com
Fri Jul 15 12:48:17 CEST 2022
Hi ALL,
in the below link
https://github.com/bear24rw/alsa-utils/blob/master/aplay/aplay.c#L1360
My question here is ..
aplay -->writes the data from userspace to system dma (in the kernel
alsabuffer).and from system dma to hardware dma(if hardware dma present)and
to fifo.
Now the application writes the data to system dma -->is always fast because
the cpu runs in GHz. and from system dma to i2s fifo runs on i2s
mclk.which is running on 196.6MHz.
My point is..
cpu is always fast and controller is slow ,so when playback we should get
overrun.
the command should be like this in my point of you.
stream == SND_PCM_STREAM_PLAYBACK ? : _("overrun") _("underrun"),
Please let me know if I am wrong.
Thanks
Sujith
More information about the Alsa-devel
mailing list