diff options
Diffstat (limited to 'songdbj/org/tritonus/share/sampled/mixer/TCompoundControl.java')
-rw-r--r-- | songdbj/org/tritonus/share/sampled/mixer/TCompoundControl.java | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/songdbj/org/tritonus/share/sampled/mixer/TCompoundControl.java b/songdbj/org/tritonus/share/sampled/mixer/TCompoundControl.java deleted file mode 100644 index 4a370eb86c..0000000000 --- a/songdbj/org/tritonus/share/sampled/mixer/TCompoundControl.java +++ /dev/null | |||
@@ -1,90 +0,0 @@ | |||
1 | /* | ||
2 | * TCompoundControl.java | ||
3 | * | ||
4 | * This file is part of Tritonus: http://www.tritonus.org/ | ||
5 | */ | ||
6 | |||
7 | /* | ||
8 | * Copyright (c) 2001 by Matthias Pfisterer | ||
9 | * | ||
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of the GNU Library General Public License as published | ||
13 | * by the Free Software Foundation; either version 2 of the License, or | ||
14 | * (at your option) any later version. | ||
15 | * | ||
16 | * This program is distributed in the hope that it will be useful, | ||
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
19 | * GNU Library General Public License for more details. | ||
20 | * | ||
21 | * You should have received a copy of the GNU Library General Public | ||
22 | * License along with this program; if not, write to the Free Software | ||
23 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
24 | * | ||
25 | */ | ||
26 | |||
27 | /* | ||
28 | |<--- this code is formatted to fit into 80 columns --->| | ||
29 | */ | ||
30 | |||
31 | package org.tritonus.share.sampled.mixer; | ||
32 | |||
33 | import javax.sound.sampled.CompoundControl; | ||
34 | import javax.sound.sampled.Control; | ||
35 | |||
36 | import org.tritonus.share.TDebug; | ||
37 | |||
38 | |||
39 | |||
40 | |||
41 | /** Base class for classes implementing Line. | ||
42 | */ | ||
43 | public class TCompoundControl | ||
44 | extends CompoundControl | ||
45 | implements TControllable | ||
46 | { | ||
47 | private TControlController m_controller; | ||
48 | |||
49 | |||
50 | |||
51 | public TCompoundControl(CompoundControl.Type type, | ||
52 | Control[] aMemberControls) | ||
53 | { | ||
54 | super(type, aMemberControls); | ||
55 | if (TDebug.TraceControl) | ||
56 | { | ||
57 | TDebug.out("TCompoundControl.<init>: begin"); | ||
58 | } | ||
59 | m_controller = new TControlController(); | ||
60 | if (TDebug.TraceControl) | ||
61 | { | ||
62 | TDebug.out("TCompoundControl.<init>: end"); | ||
63 | } | ||
64 | } | ||
65 | |||
66 | |||
67 | |||
68 | public void setParentControl(TCompoundControl compoundControl) | ||
69 | { | ||
70 | m_controller.setParentControl(compoundControl); | ||
71 | } | ||
72 | |||
73 | |||
74 | |||
75 | public TCompoundControl getParentControl() | ||
76 | { | ||
77 | return m_controller.getParentControl(); | ||
78 | } | ||
79 | |||
80 | |||
81 | |||
82 | public void commit() | ||
83 | { | ||
84 | m_controller.commit(); | ||
85 | } | ||
86 | } | ||
87 | |||
88 | |||
89 | |||
90 | /*** TCompoundControl.java ***/ | ||