[alsa-devel] [ASoC] TWL4030 underrun error

Arun KS getarunks at gmail.com
Thu Dec 18 08:26:49 CET 2008


On Thu, Dec 18, 2008 at 10:49 AM, naveenkrishna. ch
<naveenkrishna.ch at gmail.com> wrote:
> Hello,
>
> I am working on OMAP3 + TWL4030 combination for ASoC codec
>
> The omap generic omap-pcm.c file has
>
> static const struct snd_pcm_hardware omap_pcm_hardware = {
>        .info                   = SNDRV_PCM_INFO_MMAP |
>                                  SNDRV_PCM_INFO_MMAP_VALID |
>                                  SNDRV_PCM_INFO_INTERLEAVED |
>                                  SNDRV_PCM_INFO_BLOCK_TRANSFER |
>                                  SNDRV_PCM_INFO_PAUSE |
>                                  SNDRV_PCM_INFO_RESUME,
>        .formats                = SNDRV_PCM_FMTBIT_S16_LE,
>        .rates                  = SNDRV_PCM_RATE_8000_96000,
>        .period_bytes_min       = 32,
>        .period_bytes_max       = 64 * 1024,
>        .periods_min            = 2,
>        .periods_max            = 255,
>        .buffer_bytes_max       = 128 * 1024,
> };
>
> following structure,
>
> When i play with
> aplay XXX.wav
>
> Rare but i used to get some underrun messages
>  i found thses message are coming from aplay.
>
> underrun!!! (at least 10271.545 ms long)
> underrun!!! (at least 904.663 ms long)
> underrun!!! (at least 771.790 ms long)
> underrun!!! (at least 3393.433 ms long)
> underrun!!! (at least 777.314 ms long)

Are you using nfs as filesystem?
If yes, that may cause these errors. Try using flash and see whether
you can reproduce.

>
> I dint found much info about this in net too.
> How can i solve this, can any one help me out
>
> --
> Thanks,
>
> (: Naveen Krishna Ch :)
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>


More information about the Alsa-devel mailing list