diff options
Diffstat (limited to 'songdbj/javazoom/spi/mpeg/sampled/file/MpegEncoding.java')
| -rw-r--r-- | songdbj/javazoom/spi/mpeg/sampled/file/MpegEncoding.java | 47 |
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 0000000..6306d9e --- /dev/null +++ b/songdbj/javazoom/spi/mpeg/sampled/file/MpegEncoding.java @@ -0,0 +1,47 @@ +/* + * MpegEncoding. + * + * JavaZOOM : mp3spi@javazoom.net + * http://www.javazoom.net + * + *----------------------------------------------------------------------- + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Library General Public License as published + * by the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + *---------------------------------------------------------------------- + */ + +package javazoom.spi.mpeg.sampled.file; + +import javax.sound.sampled.AudioFormat; + +/** + * Encodings used by the MPEG audio decoder. + */ +public class MpegEncoding extends AudioFormat.Encoding +{ + public static final AudioFormat.Encoding MPEG1L1 = new MpegEncoding("MPEG1L1"); + public static final AudioFormat.Encoding MPEG1L2 = new MpegEncoding("MPEG1L2"); + public static final AudioFormat.Encoding MPEG1L3 = new MpegEncoding("MPEG1L3"); + public static final AudioFormat.Encoding MPEG2L1 = new MpegEncoding("MPEG2L1"); + public static final AudioFormat.Encoding MPEG2L2 = new MpegEncoding("MPEG2L2"); + public static final AudioFormat.Encoding MPEG2L3 = new MpegEncoding("MPEG2L3"); + public static final AudioFormat.Encoding MPEG2DOT5L1 = new MpegEncoding("MPEG2DOT5L1"); + public static final AudioFormat.Encoding MPEG2DOT5L2 = new MpegEncoding("MPEG2DOT5L2"); + public static final AudioFormat.Encoding MPEG2DOT5L3 = new MpegEncoding("MPEG2DOT5L3"); + + public MpegEncoding(String strName) + { + super(strName); + } +} |