Add UNKNOWN constants.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Mar 2013 21:30:01 +0000 (22:30 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Mar 2013 21:30:01 +0000 (22:30 +0100)
src/main/java/net/pterodactylus/sonitus/data/Format.java

index 84a070d..2188b2a 100644 (file)
@@ -25,6 +25,15 @@ package net.pterodactylus.sonitus.data;
  */
 public class Format {
 
+       /** Constant for an unknown number of channels. */
+       public static final int UNKNOWN_CHANNELS = -1;
+
+       /** Constant for an unknown frequency. */
+       public static final int UNKNOWN_FREQUENCY = -1;
+
+       /** Constant for an unknown format. */
+       public static final String UNKNOWN_ENCODING = "UNKNOWN";
+
        /** The number of channels of this format. */
        private final int channels;