summaryrefslogtreecommitdiff
path: root/songdbj/javazoom/spi/mpeg/sampled/file/MpegEncoding.java
diff options
context:
space:
mode:
Diffstat (limited to 'songdbj/javazoom/spi/mpeg/sampled/file/MpegEncoding.java')
-rw-r--r--songdbj/javazoom/spi/mpeg/sampled/file/MpegEncoding.java47
1 files changed, 47 insertions, 0 deletions
diff --git a/songdbj/javazoom/spi/mpeg/sampled/file/MpegEncoding.java b/songdbj/javazoom/spi/mpeg/sampled/file/MpegEncoding.java
new file mode 100644
index 0000000000..6306d9ec80
--- /dev/null
+++ b/songdbj/javazoom/spi/mpeg/sampled/file/MpegEncoding.java
@@ -0,0 +1,47 @@
1/*
2 * MpegEncoding.
3 *
4 * JavaZOOM : mp3spi@javazoom.net
5 * http://www.javazoom.net
6 *
7 *-----------------------------------------------------------------------
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU Library General Public License as published
10 * by the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Library General Public License for more details.
17 *
18 * You should have received a copy of the GNU Library General Public
19 * License along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 *----------------------------------------------------------------------
22 */
23
24package javazoom.spi.mpeg.sampled.file;
25
26import javax.sound.sampled.AudioFormat;
27
28/**
29 * Encodings used by the MPEG audio decoder.
30 */
31public class MpegEncoding extends AudioFormat.Encoding
32{
33 public static final AudioFormat.Encoding MPEG1L1 = new MpegEncoding("MPEG1L1");
34 public static final AudioFormat.Encoding MPEG1L2 = new MpegEncoding("MPEG1L2");
35 public static final AudioFormat.Encoding MPEG1L3 = new MpegEncoding("MPEG1L3");
36 public static final AudioFormat.Encoding MPEG2L1 = new MpegEncoding("MPEG2L1");
37 public static final AudioFormat.Encoding MPEG2L2 = new MpegEncoding("MPEG2L2");
38 public static final AudioFormat.Encoding MPEG2L3 = new MpegEncoding("MPEG2L3");
39 public static final AudioFormat.Encoding MPEG2DOT5L1 = new MpegEncoding("MPEG2DOT5L1");
40 public static final AudioFormat.Encoding MPEG2DOT5L2 = new MpegEncoding("MPEG2DOT5L2");
41 public static final AudioFormat.Encoding MPEG2DOT5L3 = new MpegEncoding("MPEG2DOT5L3");
42
43 public MpegEncoding(String strName)
44 {
45 super(strName);
46 }
47}