Posts: 608
Joined: Jan 2011
Reputation:
12
It's the fault of the RPi2 hardware, not OSMC. The only way to greatly reduce the noise from the analog out is to use a USB sound card.
My Theater: JVC X790R + Peerless PRG-UNV | 120" CineWhite UHD-B Screen | KODI Omega + PreShow Experience | mpv | madVR RTX 2070S | Panasonic UB420 | Denon X3600H @ 5.2.4 | 4 x ADX Maximus w/ Dayton Audio SA230 | 3 x Totem Tribe LCR + Mission M30 Surrounds + SVS PC2000 + Monolith 15 | 40" HDTV w/ MeLE N5105 + MoviePosterApp | 40TB Win10 SMB Server over Gigabit Ethernet
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Or one of the add-on cards like Wolfson make
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 932
Joined: Sep 2013
Reputation:
33
I have honestly never used the audio port on an RPI, but the first thing I would be looking at is the quality of your cabling.
HTPCs: 2 x Chromecast with Google TV
Audio: Pioneer VSX-819HK & S-HS 100 5.1 Speakers
Server: HP Compaq Pro 6300, 4GB RAM, 8.75TB, Bodhi Linux 5.x, NFS, MySQL
Posts: 8,967
Joined: Feb 2011
Reputation:
426
The analogue audio quality isn't great, but it can be affected by other devices creating ground noise.
The power supply is most likely, but it can be usb/ethernet/hdmi.
Trying another power supply or disconnecting plugged in devices while audio is playing may identify if the noise comes from a specific component.