Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7124225

[macosx] Input lines support only current sample rate

    Details

    • Subcomponent:
    • Resolved In Build:
      b13
    • CPU:
      generic
    • OS:
      os_x
    • Verification:
      Verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amenkov Alex Menkov
                Reporter:
                vasya Vassili Igouchkine (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: