are you certain it's the speaker? is the speaker working fine for other apps or are the other apps also having issues with the speakers sometimes?
Depending on the phenomenon, it could be hardware issue or software issue. You can visit authorized repair center for checkup or
Reproduce issue then report to Samsung Members app > Get Help > Error Report