-
Bug
-
Resolution: Fixed
-
P4
-
1.4.2
-
b46
-
x86
-
linux
Name: fb126949 Date: 03/23/2003
When the Java Sound Audio Engine is disabled (e.g. by renaming /dev/dsp) and only ALSA drivers are enabled, then test 95 of the Java Sound test suite fails with this exception:
java.lang.IllegalArgumentException: Could not write MIDI file
at com.sun.media.sound.StandardMidiFileWriter.write(StandardMidiFileWriter.java:139)
at javax.sound.midi.MidiSystem.write(MidiSystem.java:778)
at test095.runTest(test095.java:123)
at test095.main(test095.java:212)
The test just writes a self-generated Sequence to a ByteArrayOutputStream. When the Java Sound Audio Engine is enabled, the test passes.
======================================================================