On 5/4/2017 2:22 PM, Jay Foster wrote:
On 5/4/2017 12:12 PM, chris hermansen
wrote:
Jay and list,
Yes. Without it, the audio would keep pausing every 0.5 seconds
with underruns. The default rate scaling is too CPU intensive for
my platform. Using the linear rate conversion is what was
recommended to me by someone on this list, and seemed to work
fine. Some of the audio is 22050 Hz (mono) which needs to be
scaled to 44100 Hz (the card only supports 44100 and 48000 rates.
I am not familiar with the hw:CARD=???,DEV=??? argument. The
aplay man page and --help do not document it. I did try adding
the '-D front' option to aplay and the noise went away (yeah). I
got the PCM name, front, from the output of aplay -L.
Jay
With a bit more testing, I found that the '-D front' only works for
two channel audio files, not my mono files. I have found that
'-Dplughw:0' works for both. Thanks for pointing me there. I still
need the scaling too.
Jay
|
------------------------------------------------------------------------------
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