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

Linux: Only maximum bits and channels in ALSA devices

    XMLWordPrintable

Details

    • b44
    • x86
    • linux

    Description

      Name: fb126949 Date: 03/15/2004


      Some ALSA soundcard drivers only report the device's maximum capability. For example, my Delta soundcard with 10 channels and up to 32-bit sample size reports for the hw: device:
      minChannels=10
      maxChannels=10
      minBits=32
      maxBits=32

      So in Java Sound, such a SourceDataLine will not report mono or stereo, or 8 or 16 bit capability. Even if the hw: device is really not able to be opened in, say, stereo mode, the plughw: device can. Java Sound's lines always open the plughw: device, so it is safe to assume that if hw: supports 10 channels, the plughw: device also supports any number of channels below that.

      Java Sound should acknowledge the plughw: capabilities and report lower quality formats.

      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              fbomerssunw Florian Bomers (Inactive)
              fbomerssunw Florian Bomers (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: