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

Mixer names (capture and ports) are truncated to 31 symbols (Windows)

    XMLWordPrintable

Details

    Description

      Long Mixer names (for capturing and port devices) are truncated to 31 symbols on windows (both 32 & 64bit)
      playback device names are ok
      === Mixers.java ================================
      import javax.sound.sampled.AudioSystem;
      import javax.sound.sampled.Mixer;
      public class Mixers {
          static public void main(String args[]) {
              Mixer.Info[] infos = AudioSystem.getMixerInfo();
              for (int i=0; i<infos.length; i++) {
                  System.out.println("mixer " + i + ": >>" + infos[i].getName() + "<<");
              }
          }
      }
      ===================================================
      results:
      mixer 0: >>Primary Sound Driver<<
      mixer 1: >>Realtek HD Audio 2nd output (Realtek High Definition Audio)<<
      mixer 2: >>Realtek Digital Output(Optical) (Realtek High Definition Audio)<<
      mixer 3: >>Speakers (Realtek High Definition Audio)<<
      mixer 4: >>Realtek Digital Output (Realtek High Definition Audio)<<
      mixer 5: >>Primary Sound Capture Driver<<
      mixer 6: >>Mic in at front panel (Pink) (R<<
      mixer 7: >>Stereo Mix (Realtek High Defini<<
      mixer 8: >>Mic in at rear panel (Pink) (Re<<
      mixer 9: >>Port Realtek HD Audio 2nd output (Re<<
      mixer 10: >>Port Realtek Digital Output(Optical)<<
      mixer 11: >>Port Realtek Digital Output (Realtek<<
      mixer 12: >>Port Mic in at front panel (Pink) (R<<
      mixer 13: >>Port Stereo Mix (Realtek High Defini<<
      mixer 14: >>Port Speakers (Realtek High Definiti<<
      mixer 15: >>Port Mic in at rear panel (Pink) (Re<<

      Attachments

        Issue Links

          Activity

            People

              rkannathpari Renjith Kannath Pariyangad
              amenkov Alex Menkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: