From: David ‘Bombe’ Roden Date: Thu, 14 Mar 2013 21:30:01 +0000 (+0100) Subject: Add UNKNOWN constants. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8c09fba110650c1bab4d7bb813bade45fe2b80f5;p=sonitus.git Add UNKNOWN constants. --- diff --git a/src/main/java/net/pterodactylus/sonitus/data/Format.java b/src/main/java/net/pterodactylus/sonitus/data/Format.java index 84a070d..2188b2a 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/Format.java +++ b/src/main/java/net/pterodactylus/sonitus/data/Format.java @@ -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;