[SOLVED] Raspberry Pi and sound peaks and/or cuts/drops
by Minime_2003 from LinuxQuestions.org on (#5NXEV)
I was having some sound issues with my Raspberry Pi 4.
Sound peaking, sometimes cutting/dropping randomly.
Slightly disappointed with my Pi 4, but at the same time confused that it worked when using youtube streams throught firefox, and the sound cut/dropped and peaked diffrently when using kodi-gbm and when running kodi-x11 (xorg).
So i came to the conclution that this could not be a hardware issue (Like a cheap or bad soundcard/chip), it had to be some software issue.
Started to wondering if this was some issue using kodi and having problem with streams.
So i started to google, and after hunting diffrent search words i finaly found a guide at kodi wiki and about PulseAudio.
So i tried changing the settings for PulseAudio as decribed and rebooted the system.
Tadaaa, it worked! =)
/etc/pulse/daemon.conf
Code:default-sample-format = s24le
default-sample-rate = 44100
alternate-sample-rate = 48000
;new with pulseaudio 11
avoid-resampling = true
resample-method = speex-float-5So i thought i would share my discovery if some one else is having the same kind of issues with choppy sound, sound peaks and sound that drops out/cuts.
By the way, i have to say that i am very surprised and impressed of this Pi and what it actually can do and handle.
Its an amazing, cheap and good device as a media PC, shame it's not very easy to get CDM working.
But i guess one can't have it all right ;-)
Sound peaking, sometimes cutting/dropping randomly.
Slightly disappointed with my Pi 4, but at the same time confused that it worked when using youtube streams throught firefox, and the sound cut/dropped and peaked diffrently when using kodi-gbm and when running kodi-x11 (xorg).
So i came to the conclution that this could not be a hardware issue (Like a cheap or bad soundcard/chip), it had to be some software issue.
Started to wondering if this was some issue using kodi and having problem with streams.
So i started to google, and after hunting diffrent search words i finaly found a guide at kodi wiki and about PulseAudio.
So i tried changing the settings for PulseAudio as decribed and rebooted the system.
Tadaaa, it worked! =)
/etc/pulse/daemon.conf
Code:default-sample-format = s24le
default-sample-rate = 44100
alternate-sample-rate = 48000
;new with pulseaudio 11
avoid-resampling = true
resample-method = speex-float-5So i thought i would share my discovery if some one else is having the same kind of issues with choppy sound, sound peaks and sound that drops out/cuts.
By the way, i have to say that i am very surprised and impressed of this Pi and what it actually can do and handle.
Its an amazing, cheap and good device as a media PC, shame it's not very easy to get CDM working.
But i guess one can't have it all right ;-)