humble-video-noarch/src/main/java/io/humble/video/javaxsound/MediaAudioConverterFactory.java
public static MediaAudioConverter createConverter(String description,
      int sampleRate, Layout layout, Type format) {
    if (description != DEFAULT_JAVA_AUDIO)
      throw new RuntimeException("Unsupported converter type");
    return new StereoS16AudioConverter(sampleRate, layout, format);
  }
public static MediaAudioConverter createConverter(String description,
      int sampleRate, Layout layout, Type format) {
    if (description != DEFAULT_JAVA_AUDIO)
      throw new RuntimeException("Unsupported converter type");
    return new StereoS16AudioConverter(sampleRate, layout, format);
  }
public static MediaAudioConverter createConverter ( String description , int sampleRate , Layout layout , Type format ) { if ( description != DEFAULT_JAVA_AUDIO ) throw new RuntimeException ( "Unsupported converter type" ) ; return new StereoS16AudioConverter ( sampleRate , layout , format ) ; }
Create a converter.
@param description A descriptor string for the converter.
@param sampleRate Sample rate of MediaAudio objects that will be converted to/from.
@param layout Channel layout of MediaAudio objects that will be converted to/from.
@param format Sample format of MediaAudio objets that will be converted to/from.
@return A converter to use
Create a converter .