code: public static AudioFormat createAudioFormat(EncodingName name) {
          //check name and create specific
          if (name.equals(DTMF)) {
              return new DTMFFormat();
          }
  
          //default format
          return new AudioFormat(name);
      }
docs: Creates new audio format descriptor.
  
  @param name the encoding name.