2018-02-21, 21:42
(2018-02-21, 20:52)popcornmix Wrote:I had a look again at the changes to the hifiberry_dacplus.c driver and while they still seem OK to me I won't rule out that I missed something. This particular driver is doing rather weird stuff, like manipulating PCM512x registers and using snd_interval_ratnum (to optimize rate selection?) and unfortunately I don't have such a card and the Hifiberry folks didn't react when I pinged them on github in the PR.(2018-02-21, 20:10)adiadore Wrote: with #0216
here is the log
buffer starts after 22048 18:39:40.473 T:1317098368 NOTICE: CVideoPlayerAudio:rocess - stream stalledfirst
audio sync errors start after line 32123 18:41:16.775 T:1935754112 WARNING: ActiveAE - large audio sync error: -1143.854492
went back to #0215, happens no more
@HiassofT any thoughts? It seems like "kernel 4.14.y: fix DAC S24_LE support" is the only related change in that build.
@adiadore could you please post dmesg output (run "dmesg | paste") after you got stuttering? It would also be nice if you could contact the Hifiberry folks and point them to this issue and this RPi kernel PR: https://github.com/raspberrypi/linux/pull/2365
Edit: ah, and another thing, please post the output of "cat /proc/asound/card0/pcm0p/sub0/hw_params" while you play a video - this should give some more hints.
so long,
Hias