[ASoC] TWL4030 underrun error

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

 



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)

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@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