-
Bug
-
Resolution: Duplicate
-
P4
-
7, 8
-
generic, x86
-
linux, os_x, windows_vista
http://java.net/jira/browse/MACOSX_PORT-771 submitted 2011/12/09 by Alexander Petrov
Next code throw Exception:
AudioFormat format = new AudioFormat(22050, 8, 1, false, false);
TargetDataLine line = AudioSystem.getTargetDataLine(format);
DataLine.Info info = new DataLine.Info(TargetDataLine.class, format);
TargetDataLine line = (TargetDataLine)AudioSystem.getLine(info);
java.lang.IllegalArgumentException: No line matching interface TargetDataLine supporting format PCM_UNSIGNED 22050.0 Hz, 8 bit, mono, 1 bytes/frame, is
at javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:476)
at bug6372428.testRecord(bug6372428.java:248)
at bug6372428.main(bug6372428.java:39)
On JDK 6 all OK.
Build: b220
Tests failed (Regression):
closed/javax/sound/sampled/DirectAudio/bug6372428.java
Next code throw Exception:
AudioFormat format = new AudioFormat(22050, 8, 1, false, false);
TargetDataLine line = AudioSystem.getTargetDataLine(format);
DataLine.Info info = new DataLine.Info(TargetDataLine.class, format);
TargetDataLine line = (TargetDataLine)AudioSystem.getLine(info);
java.lang.IllegalArgumentException: No line matching interface TargetDataLine supporting format PCM_UNSIGNED 22050.0 Hz, 8 bit, mono, 1 bytes/frame, is
at javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:476)
at bug6372428.testRecord(bug6372428.java:248)
at bug6372428.main(bug6372428.java:39)
On JDK 6 all OK.
Build: b220
Tests failed (Regression):
closed/javax/sound/sampled/DirectAudio/bug6372428.java
- duplicates
-
JDK-7124487 [macosx] AudioSystem.getLine throw Exception
- Closed
-
JDK-7109623 javax/sound/sampled/DirectAudio/bug6372428.java failed
- Resolved
- relates to
-
JDK-7109623 javax/sound/sampled/DirectAudio/bug6372428.java failed
- Resolved
-
JDK-7124225 [macosx] Input lines support only current sample rate
- Closed