Multiple Audio Output for Separate Applications

Is it possible for me to output my music to my surround sound while having other applications output to my headphones simultaneously? If anyone has any advice, I would like to know it.