diff options
Diffstat (limited to 'songdbj/javazoom/spi/mpeg/sampled/file/MpegAudioFormat.java')
-rw-r--r-- | songdbj/javazoom/spi/mpeg/sampled/file/MpegAudioFormat.java | 67 |
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 | |||
24 | package javazoom.spi.mpeg.sampled.file; | ||
25 | |||
26 | import java.util.Map; | ||
27 | |||
28 | import javax.sound.sampled.AudioFormat; | ||
29 | |||
30 | import org.tritonus.share.sampled.TAudioFormat; | ||
31 | |||
32 | /** | ||
33 | * @author JavaZOOM | ||
34 | */ | ||
35 | public 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 | } | ||