Retreive audio format for output stream

Added the possibility to retrieve the used audio format if an OutputStream is used instead of the AudioPlayer.