Class Library

java.lang.Object
net.avadeaux.klipspringer.codec.Library

public class Library extends Object
Static initialization of common external resources, with methods to provide information about supported features. Should be loaded before classes that use external libraries are initialized.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    Checks if set up with a library compiled with support for direct access to ALSA devices.
    static boolean
    Checks if set up with a library compiled with FLAC support.
    static void
    Call to make sure that static external resources are properly initialized.
    static boolean
    Checks if set up with a library compiled with LAME MP3 encoding support.
    static boolean
    Checks if set up with a library compiled with Opus support.
    static String
    Gets Klipspringer version string.
    static boolean
    Checks if set up with a library compiled with Vorbis support.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Library

      public Library()
  • Method Details

    • init

      public static void init()
      Call to make sure that static external resources are properly initialized.
    • flacSupported

      public static boolean flacSupported()
      Checks if set up with a library compiled with FLAC support.
    • lameSupported

      public static boolean lameSupported()
      Checks if set up with a library compiled with LAME MP3 encoding support.
    • alsaSupported

      public static boolean alsaSupported()
      Checks if set up with a library compiled with support for direct access to ALSA devices.
    • vorbisSupported

      public static boolean vorbisSupported()
      Checks if set up with a library compiled with Vorbis support.
    • opusSupported

      public static boolean opusSupported()
      Checks if set up with a library compiled with Opus support.
    • version

      public static String version()
      Gets Klipspringer version string.