What kind of headphones you use ?
On the bundled headphones ,there is no such problem .
The sound is muted when the headphones are connected regardless of app
It really is dependent on headphones you use .
If it aint stock samsung then you will have to write a driver to support the headphones.