From 8c09fba110650c1bab4d7bb813bade45fe2b80f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 14 Mar 2013 22:30:01 +0100 Subject: [PATCH] Add UNKNOWN constants. --- src/main/java/net/pterodactylus/sonitus/data/Format.java | 9 +++++++++ 1 file changed, 9 insertions(+) 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; -- 2.7.4