Created attachment 127891 [details] Test tone I'm running my Yocto distribution (morty with PulseAudio 9.0) with Linux 4.7 on an i.MX6SX platform containing a Wolfson WM9715 codec driven by the wm9712 driver. I'm trying to play a small test wav file with about 100ms duration (see attachment). I can successfully use aplay on the hardware device directly. When I use PulseAudio to play that file (for example through aplay or by upload-sample/play-sample), sometimes samples at the beginning are omitted and don't reach the analog audio output (see following attachments). It doesn't happen if this is the first time something is played after the server has started. It then happens every time (with varying number of samples) until the alsa card is suspended. It then again doesn't happen once after the card is unsuspended. After a small IRC session, I already have disabled the rewinding code (https://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/alsa-sink.c?id=8887f256e0f1167e579a217387a4efc5397edf93#n1649) and this makes the problem go away, but I'd be surprised if this was even close to an actual solution.
Created attachment 127892 [details] Full audio output
Created attachment 127893 [details] Truncated output 1
Created attachment 127894 [details] Truncated output 2
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/179.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.