code: @Override
      public AudioInputStream getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream audioInputStream) {
          AudioFormat sourceFormat = audioInputStream.getFormat();
          AudioFormat targetFormat = new AudioFormat(
                  targetEncoding,
                  AudioSystem.NOT_SPECIFIED, // sample rate
                  AudioSystem.NOT_SPECIFIED, // sample size in bits
                  AudioSystem.NOT_SPECIFIED, // channels
                  AudioSystem.NOT_SPECIFIED, // frame size
                  AudioSystem.NOT_SPECIFIED, // frame rate
                  sourceFormat.isBigEndian());  // big endian
          LOG.log(Level.FINE, "TFormatConversionProvider.getAudioInputStream(AudioFormat.Encoding, AudioInputStream):");
          LOG.log(Level.FINE, "trying to convert to {0}", targetFormat);
          return getAudioInputStream(targetFormat, audioInputStream);
      }
docs: $$fb2000-10-04: use AudioSystem.NOT_SPECIFIED for all fields.