Re: What recommended performance for ALSA(ASoC)?

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

 



Thanks for your reply.
Your advises are very important information for me. Because explained your
target system is very similar my target system.

> I would like to say ALSA will perfectly runs on your target SOC clock.
> I am running it on 192MHz ARM926 core along with H.264 video decoder!!!.
> BogoMIPS = 95.84.
> Even I had the same glitch problem before.

Following debugging tips are very helpful.
I have questions about debugging tips.

> Few debug steps here:
> 1.      Check the DMA Configuration. (Transfer size, buffer size and
number of Transfers)
> 2.      Does your period,period bytes ,buffer size of Ringbuffer matcheswith the DMA buffer?

What is your ALSA driver setting that buffer bytes, period bytes, periods?
Current my driver setting values are buffer bytes(4KBytes), period
bytes(2KBytes), periods(2).

>Check the correct re-initilization of "period" once the buffer is full.

What does meannig? I don't understand.
And what is proper function for checking buffer and period?
prepare,trigger,irq handler, pointer...

> 3.      Check the current DMA postion at the point of "pointer" callback.This should be equal to number of samples send to the PCM middle layer.
> 4.      As Jaroslav says disc read speed should be > (44100*2*16) for
44.1K 16bit stereo. Or else read from NFSBOOT if your SOC support Ethernet.
 > 5.      Always test with a "sinewave" for glitchs, not with your
favoritesong J

Tell me recommended music for audio test.


Thanks.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

  Powered by Linux