diff options
author | Björn Stenberg <bjorn@haxx.se> | 2007-01-08 23:53:00 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2007-01-08 23:53:00 +0000 |
commit | 7039a05147b8bbfc829babea1c65bd436450b505 (patch) | |
tree | 4ba555eb84ed97b72b0575034d5b0530a393713e /songdbj/org/tritonus/file/gsm/GSMAudioFileWriter.java | |
parent | 6d4c19707ef95942e323cbdc89fbbfdbe45e7cc5 (diff) | |
download | rockbox-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/org/tritonus/file/gsm/GSMAudioFileWriter.java')
-rw-r--r-- | songdbj/org/tritonus/file/gsm/GSMAudioFileWriter.java | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/songdbj/org/tritonus/file/gsm/GSMAudioFileWriter.java b/songdbj/org/tritonus/file/gsm/GSMAudioFileWriter.java deleted file mode 100644 index eb3d1f3f16..0000000000 --- a/songdbj/org/tritonus/file/gsm/GSMAudioFileWriter.java +++ /dev/null | |||
@@ -1,77 +0,0 @@ | |||
1 | /* | ||
2 | * GSMAudioFileWriter.java | ||
3 | * | ||
4 | * This file is part of Tritonus: http://www.tritonus.org/ | ||
5 | */ | ||
6 | |||
7 | /* | ||
8 | * Copyright (c) 2000 by Florian Bomers <http://www.bomers.de> | ||
9 | * Copyright (c) 2000 by Matthias Pfisterer | ||
10 | * | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or modify | ||
13 | * it under the terms of the GNU Library General Public License as published | ||
14 | * by the Free Software Foundation; either version 2 of the License, or | ||
15 | * (at your option) any later version. | ||
16 | * | ||
17 | * This program is distributed in the hope that it will be useful, | ||
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
20 | * GNU Library General Public License for more details. | ||
21 | * | ||
22 | * You should have received a copy of the GNU Library General Public | ||
23 | * License along with this program; if not, write to the Free Software | ||
24 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
25 | * | ||
26 | */ | ||
27 | |||
28 | /* | ||
29 | |<--- this code is formatted to fit into 80 columns --->| | ||
30 | */ | ||
31 | |||
32 | package org.tritonus.sampled.file.gsm; | ||
33 | |||
34 | import java.util.Arrays; | ||
35 | |||
36 | import javax.sound.sampled.AudioFileFormat; | ||
37 | import javax.sound.sampled.AudioFormat; | ||
38 | import javax.sound.sampled.AudioSystem; | ||
39 | |||
40 | import org.tritonus.share.TDebug; | ||
41 | import org.tritonus.share.sampled.file.THeaderlessAudioFileWriter; | ||
42 | |||
43 | |||
44 | |||
45 | /** Class for writing GSM streams | ||
46 | * | ||
47 | * @author Florian Bomers | ||
48 | * @author Matthias Pfisterer | ||
49 | */ | ||
50 | public class GSMAudioFileWriter | ||
51 | extends THeaderlessAudioFileWriter | ||
52 | { | ||
53 | private static final AudioFileFormat.Type[] FILE_TYPES = | ||
54 | { | ||
55 | new AudioFileFormat.Type("GSM", "gsm") | ||
56 | }; | ||
57 | |||
58 | private static final AudioFormat[] AUDIO_FORMATS = | ||
59 | { | ||
60 | new AudioFormat(new AudioFormat.Encoding("GSM0610"), 8000.0F, ALL, 1, 33, 50.0F, false), | ||
61 | new AudioFormat(new AudioFormat.Encoding("GSM0610"), 8000.0F, ALL, 1, 33, 50.0F, true), | ||
62 | }; | ||
63 | |||
64 | |||
65 | |||
66 | public GSMAudioFileWriter() | ||
67 | { | ||
68 | super(Arrays.asList(FILE_TYPES), | ||
69 | Arrays.asList(AUDIO_FORMATS)); | ||
70 | if (TDebug.TraceAudioFileWriter) { TDebug.out("GSMAudioFileWriter.<init>(): begin"); } | ||
71 | if (TDebug.TraceAudioFileWriter) { TDebug.out("GSMAudioFileWriter.<init>(): end"); } | ||
72 | } | ||
73 | } | ||
74 | |||
75 | |||
76 | |||
77 | /*** GSMAudioFileWriter.java ***/ | ||