-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b13
-
generic
-
os_x
-
Verified
http://java.net/jira/browse/MACOSX_PORT-750 submitted 2011/11/23 by Alex Menkov
Input lines (TargetDataLine) support only "current" device sample rate.
The behavior comply the spec, but other platforms don't have such restrictions and most of the developers open TargetDataLine without supported AudioFormat analysis.
Need to research if CoreAudio support resampling.
Note: current audio format should be used as "default" - see Line.open() description:
For DataLine's, if the DataLine.Info object which was used to retrieve the line, specifies at least one fully qualified audio format, the last one will be used as the default format.
Input lines (TargetDataLine) support only "current" device sample rate.
The behavior comply the spec, but other platforms don't have such restrictions and most of the developers open TargetDataLine without supported AudioFormat analysis.
Need to research if CoreAudio support resampling.
Note: current audio format should be used as "default" - see Line.open() description:
For DataLine's, if the DataLine.Info object which was used to retrieve the line, specifies at least one fully qualified audio format, the last one will be used as the default format.
- duplicates
-
JDK-7124501 [macosx] Input lines support only current sample rate
- Closed
- relates to
-
JDK-7113349 Initial changeset for Macosx port to jdk
- Closed
-
JDK-7124211 [macosx] AudioSystem.getLine throw Exception
- Closed