Re: Aplay Underruns

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

 



Jay Foster wrote:
> On 10/16/2016 11:47 PM, Clemens Ladisch wrote:
>> Jay Foster wrote:
>>> The sound comes out in short bursts with pauses in between.  Each pause
>>> is accompanied with an underrun error
>>> [...]
>>> This makes me think the problem I am having is with the pcm plugin that
>>> does the resampling.
>>
>> Apparently, it uses too much of your CPU (whatever it is).  [...]
>
> 'aplay -D plughw:0 test.wav" did not make any difference.
> [...]
> would I have any better luck telling aplay to select the 44100 Hz output
> rate and resample 220500 to 44100 instead?

The exact target rate does not matter for CPU usage, and it's probably
using 44100 already.

Which resampling algorithm are you using? ("aplay -v -D plughw:0 test.wav")
(The fastest one would be "linear".)

> 400MHz armv5te

This CPU might be too weak to do real-time resampling without special
assembler optimizations.


Regards,
Clemens

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux