[alsa-devel] What recommended performance for ALSA(ASoC)?

Jinyoung Park mcjin02 at gmail.com
Fri Mar 7 03:01:21 CET 2008


Hello, I tred developing new ALSA(ASoC) driver for our company's
embedded processor.
Our processor supported I2S and DMA. So, my ALSA drvier implementation
using DMA.
I was tested my ALSA driver. When I play wav file(sample rate 44100)
using aplay( aplay -M -D hw:0,0 test.wav), sometimes occured breaks.
Also, play mp3 file(sample rate 44100Hz) using madplay and mpg123,
sometimes occured noises.
So, I was tested wav file and mp3 file that down sampling 44100 ->
22050. They was not occurring break and decreasing noises.
I tried improving my ALSA driver, optimize souce code and change
variety buffer size and period size. But It doesn't improve much.
In my guess, my target system is not enough performance because ALSA is heavy.
Target system' processor(ARM9) clock is 200MHz and BogoMIPS is
99.6(cat /proc/cpuinfo). Linux kernel version is 2.6.24.1.

What recommended performance for ALSA(ASoC)?
If my target system is enough performance, shall I do that solve problem?

Thanks.


More information about the Alsa-devel mailing list