[alsa-devel] [ASoC] TWL4030 underrun error
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
On Thu, Dec 18, 2008 at 10:49 AM, naveenkrishna. ch naveenkrishna.ch@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@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
On Thu, Dec 18, 2008 at 9:26 AM, Arun KS getarunks@gmail.com wrote:
On Thu, Dec 18, 2008 at 10:49 AM, naveenkrishna. ch naveenkrishna.ch@gmail.com wrote:
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.
Also "aplay /dev/zero" or "aplay /dev/urandom" are good sources for audio testing :-)
Then you can exclude issues caused by the filesystem.
Jarkko
participants (3)
-
Arun KS
-
Jarkko Nikula
-
naveenkrishna.ch