code: public static synchronized Audio loadAudio(Media media)
      {
          Check.notNull(media);
  
          final String extension = UtilFile.getExtension(media.getPath());
          return Optional.ofNullable(FACTORIES.get(extension))
                         .orElseThrow(() -> new LionEngineException(media, ERROR_FORMAT))
                         .loadAudio(media);
      }
docs: Load an audio file and prepare it to be played.
  
  @param media The audio media (must not be <code>null</code>).
  @return The loaded audio.
  @throws LionEngineException If invalid audio.