title: C# Dynamically set sound output of application
body: <p>A while back I was working on an application that controls the sound output of programs based on which screen the program is. For example I have a browser on my TV and by that I want to set the sound output of the program to the TV's speakers. I've already done the detection part (find on which screen the program is) and I'm ready to implement any solutions you give me here. My program works by always following the application that is focused, so if it changes screens it should change sound output</p>
  
  <p>As I told you above, I already have the screen detection done but when it comes to changing the sound output for only that application that is focused I had no luck so far. How do I accomplish this? Is it possible? I've already searched on this topic and found libraries that should do this like NAudio but none of them seemed to work for me, that's why I stopped developing this program, until now :)</p>