But the problem seems to occur more often with HDMI sources to the TV than others. You didn't give that detail.
A common fix is to set the TV and app audio to stereo or PCM.
I just purchased the Samsung UN32M5300AFXZA 32-Inch Full HD 1080p HD TV (2017) recently and noticed a problem when I am using Philips sound bar. I have it hooked up using the audio optical cable and noticed for a split second *3 or 4 times* the audio cuts out from time to time. The speakers on the TV play fine and don't do this. I even have the 2 of the same sound bars and still does it. I even changed the cable but no change. Is this anything to worry about or should I have this serviced? I hate to send it back for a minor subject. Not sure what to do?