1

So on my Raspberry pi when I play audio through the headphone jack, the first few seconds of sound are lost. However, I if I immediately play the sound again, the audio works fine from the very beginning of the sample. The end of period when I can start the second sample and have the audio work properly is signaled by a slight pop from the speakers. I'm using pulseaudio on RP-3

Searching online has led me to the options of disabling idling of sinks and constantly playing silent sound (using play -n from sox) to keep the sink running. Neither has any effect on the issue.

I'm playing the sound using paplay sound.wav.

Output of pactl list short sinks:

0       alsa_output.platform-soc_audio.analog-mono      module-alsa-card.c      s16le 1ch 48000Hz     RUNNING

Why is the PI losing the first few seconds of audio and how can I fix it?

  • I think it’s a bug in Buster - I did not have this in Stretch and it’s gone with an I2S DAC I’ve added. – Andyroo Apr 19 at 0:29
  • @Andyroo forgive me, but could clarify what an I2C DAC is? – DonyorM Apr 19 at 0:30
  • Sorry typing error - I meant and I2S DAC. These are add on cards that use the I2S bus built into the Pi and provides a digital to analogue converter output for speakers or headphones - they start from around £15 upwards volumio.org/raspberry-pi-i2s-dac-sounds-so-good – Andyroo Apr 19 at 0:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.