Originariamente inviato da
marcoc1712
mmmh....
I do believe the difference is mostly here:-o hw:CARD=Interface. That means direct access to the device. I'll try that before any other.
that said,
-D = use DOP for DSD, it was playing flac, is not taking place here.
-a 16:4:: are alsa buffer,period size, format and mmap. 16 is a very little buffer, default is 40:4::, that with that card in audiolinux results in 40:4:S32_LE:1
We should look at your log to see what alsa parameters (format and mmap) it uses, but they are depending on the OS and the card.
There is a (little) chance that the last one (mmap) could beinvolved in the problem, but only if audiolinux (or alsa in audiolinux) is compiled without the mmap support, in that case you should add -a 40:4::0 to the command line (to use same defaults values) and NO mmap, if you are not sure, 0 is safe, so try to use it first.
Then you could play with other settings.
this is the line I currently use, when not using DSD.
-n squeezelite-R2-o hw:CARD=J20 -x -m 00:e0:4c:68:ce:78 -r 44100-768000 -c aif,wav,pcm -b 1048576:1048576 -a 499:3::0 -f /var/log/squeezelite-R2/squeezelite-R2.log
-b is the input/output buffer, should be equals when using uncompressed pcm, the out should be 1/0.75 the imput when using flac for best results, but it does not really matter with so little alsa buffers (< 200). In this case is 2GB, that way the song is almost always in RAM, the network inactive and CPU get 400/16 fewer interrupts from memory, but be sure to have enough RAM or decrease them.