From: "Jin-Young Park" <mcjin02@gmail.com>
To: Prithwee Narayan N S <prithweens@sanyo.co.in>
Cc: alsa-devel@alsa-project.org
Subject: Re: What recommended performance for ALSA(ASoC)?
Date: Sat, 8 Mar 2008 02:25:49 +0900 [thread overview]
Message-ID: <280b69ac0803070925w4a0e68f3mfc2fd13111167590@mail.gmail.com> (raw)
In-Reply-To: <5BF78BCE8D9BF14A83F836BD9E3916BA053FDA@blrms.slti.sanyo.co.in>
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.
next parent reply other threads:[~2008-03-07 17:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5BF78BCE8D9BF14A83F836BD9E3916BA053FDA@blrms.slti.sanyo.co.in>
2008-03-07 17:25 ` Jin-Young Park [this message]
2008-03-07 2:01 What recommended performance for ALSA(ASoC)? Jinyoung Park
2008-03-07 7:49 ` Jaroslav Kysela
2008-03-07 11:20 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=280b69ac0803070925w4a0e68f3mfc2fd13111167590@mail.gmail.com \
--to=mcjin02@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=prithweens@sanyo.co.in \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox