summaryrefslogtreecommitdiff
path: root/songdbj/javazoom/spi/mpeg/sampled/file/MpegAudioFormat.java
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2007-01-08 23:53:00 +0000
committerBjörn Stenberg <bjorn@haxx.se>2007-01-08 23:53:00 +0000
commit7039a05147b8bbfc829babea1c65bd436450b505 (patch)
tree4ba555eb84ed97b72b0575034d5b0530a393713e /songdbj/javazoom/spi/mpeg/sampled/file/MpegAudioFormat.java
parent6d4c19707ef95942e323cbdc89fbbfdbe45e7cc5 (diff)
downloadrockbox-7039a05147b8bbfc829babea1c65bd436450b505.tar.gz
rockbox-7039a05147b8bbfc829babea1c65bd436450b505.zip
Splitting out songdbj
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11953 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'songdbj/javazoom/spi/mpeg/sampled/file/MpegAudioFormat.java')
-rw-r--r--songdbj/javazoom/spi/mpeg/sampled/file/MpegAudioFormat.java67
1 files changed, 0 insertions, 67 deletions
diff --git a/songdbj/javazoom/spi/mpeg/sampled/file/MpegAudioFormat.java b/songdbj/javazoom/spi/mpeg/sampled/file/MpegAudioFormat.java
deleted file mode 100644
index 29a66a3d93..0000000000
--- a/songdbj/javazoom/spi/mpeg/sampled/file/MpegAudioFormat.java
+++ /dev/null
@@ -1,67 +0,0 @@
1/*
2 * MpegAudioFormat.
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 java.util.Map;
27
28import javax.sound.sampled.AudioFormat;
29
30import org.tritonus.share.sampled.TAudioFormat;
31
32/**
33 * @author JavaZOOM
34 */
35public class MpegAudioFormat extends TAudioFormat
36{
37 /**
38 * Constructor.
39 * @param encoding
40 * @param nFrequency
41 * @param SampleSizeInBits
42 * @param nChannels
43 * @param FrameSize
44 * @param FrameRate
45 * @param isBigEndian
46 * @param properties
47 */
48 public MpegAudioFormat(AudioFormat.Encoding encoding, float nFrequency, int SampleSizeInBits, int nChannels, int FrameSize, float FrameRate, boolean isBigEndian, Map properties)
49 {
50 super(encoding, nFrequency, SampleSizeInBits, nChannels, FrameSize, FrameRate, isBigEndian, properties);
51 }
52
53 /**
54 * MP3 audio format parameters.
55 * Some parameters might be unavailable. So availability test is required before reading any parameter.
56 *
57 * <br>AudioFormat parameters.
58 * <ul>
59 * <li><b>bitrate</b> [Integer], bitrate in bits per seconds, average bitrate for VBR enabled stream.
60 * <li><b>vbr</b> [Boolean], VBR flag.
61 * </ul>
62 */
63 public Map properties()
64 {
65 return super.properties();
66 }
67}