I have had a look at the AudioSystem
class but can't seem to figure out how I would go about getting the output stream of the audio in Windows, i.e. what you hear coming out of the speakers?
Then I want to be able to get this input stream and then output it again to a different stream, essentially sending a secondary copy of all sound to another device so that it then can be played?