stream == SND_PCM_STREAM_PLAYBACK ? _("underrun") : _("overrun"),

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux