Change options settings: Options -> Sound -> Play In Background.
Allows the game to continue playing sound when it is not the focus window.