Writing a given MixingAudioInputStream to a file with AudioSystem.write(AudioInputStream stream, AudioFileFormat.Type t, File f) never terminates.
public int read(byte[] abData, int nOffset, int nLength) method never returns -1 to indicate end of all streams.