Searched refs:Line (Results 1 - 25 of 50) sorted by relevance

12

/openjdk10/jdk/src/java.desktop/share/classes/javax/sound/sampled/
H A DMixer.java38 * Through methods of the {@code Line} interface, which {@code Mixer} extends, a
54 public interface Mixer extends Line {
69 * @return array of {@code Line.Info} objects representing source lines for
73 Line.Info[] getSourceLineInfo();
79 * @return array of {@code Line.Info} objects representing target lines for
83 Line.Info[] getTargetLineInfo();
90 * @param info a {@code Line.Info} object describing lines about which
92 * @return an array of {@code Line.Info} objects describing source lines
96 Line.Info[] getSourceLineInfo(Line
[all...]
H A DPort.java38 public interface Port extends Line {
41 * The {@code Port.Info} class extends {@code Line.Info} with additional
57 class Info extends Line.Info {
161 public boolean matches(Line.Info info) {
H A DLine.java29 * The {@code Line} interface represents a mono or multi-channel audio feed. A
35 * class. The {@code Line} interface provides two accessor methods for obtaining
69 public interface Line extends AutoCloseable { interface in inherits:AutoCloseable
72 * Obtains the {@code Line.Info} object describing this line.
76 Line.Info getLineInfo();
201 * A {@code Line.Info} object contains information about a line. The only
202 * information provided by {@code Line.Info} itself is the Java class of the
203 * line. A subclass of {@code Line.Info} adds other kinds of information
204 * about the line. This additional information depends on which {@code Line}
206 * {@code Line
[all...]
H A DLineEvent.java43 * @see Line
90 public LineEvent(Line line, Type type, long position) {
102 public final Line getLine() {
104 return (Line)getSource();
228 * @see Line#open
237 * @see Line#close
H A DDataLine.java32 * {@code Line}. This functionality includes transport-control methods that
65 public interface DataLine extends Line {
266 * Because a {@code Line.Info} knows the class of the line its describes, a
271 * such as {@link Mixer#getLine(Line.Info)}.
274 * @see Line.Info
277 class Info extends Line.Info {
438 public boolean matches(Line.Info info) {
H A DAudioSystem.java60 * {@link Line} directly from the {@code AudioSystem} without dealing explicitly
144 * @see Line
145 * @see Line.Info
217 * @param info a {@code Line.Info} object that specifies the kind of lines
219 * @return an array of {@code Line.Info} objects describing source lines
222 * @see Mixer#getSourceLineInfo(Line.Info)
224 public static Line.Info[] getSourceLineInfo(Line.Info info) {
226 Vector<Line.Info> vector = new Vector<>();
227 Line
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DAbstractMixer.java31 import javax.sound.sampled.Line;
60 protected Line.Info[] sourceLineInfo;
65 protected Line.Info[] targetLineInfo;
84 private final Vector<Line> sourceLines = new Vector<>();
89 private final Vector<Line> targetLines = new Vector<>();
98 Line.Info[] sourceLineInfo,
99 Line.Info[] targetLineInfo) {
101 // Line.Info, AbstractMixer, Control[]
102 super(new Line.Info(Mixer.class), null, controls);
124 public final Line
[all...]
H A DSoftMixingMixer.java40 import javax.sound.sampled.Line;
94 private final javax.sound.sampled.Line.Info[] sourceLineInfo;
98 sourceLineInfo = new javax.sound.sampled.Line.Info[2];
145 public Line getLine(Line.Info info) throws LineUnavailableException {
148 throw new IllegalArgumentException("Line unsupported: " + info);
157 throw new IllegalArgumentException("Line unsupported: " + info);
161 public int getMaxLines(Line.Info info) {
175 public javax.sound.sampled.Line.Info[] getSourceLineInfo() {
176 Line
[all...]
H A DAbstractLine.java34 import javax.sound.sampled.Line;
44 abstract class AbstractLine implements Line {
46 protected final Line.Info info;
63 protected AbstractLine(Line.Info info, AbstractMixer mixer, Control[] controls) {
77 public final Line.Info getLineInfo() {
/openjdk10/jdk/test/tools/launcher/
H A DMultipleJRE.sh264 File Comment Line.
265 File Comment Line.
266 File Comment Line.
267 File Comment Line.
268 File Comment Line.
269 File Comment Line.
270 File Comment Line.
271 File Comment Line.
272 File Comment Line.
273 File Comment Line
[all...]
/openjdk10/langtools/test/tools/javac/Paths/
H A DHelp.sh69 Bottom Line
/openjdk10/langtools/test/tools/javac/diags/
H A DMessageFile.java42 class Line { class in class:MessageFile
44 Line prev;
45 Line next;
47 Line(String text) { method in class:MessageFile.Line
63 Line insertAfter(String text) {
64 Line l = new Line(text);
69 void insertAfter(Line l) {
80 Line insertBefore(String text) {
81 Line
[all...]
/openjdk10/jdk/test/javax/sound/sampled/Lines/
H A DGetLine.java27 import javax.sound.sampled.Line;
68 Line l = null;
75 Line.Info infos[] = AudioSystem.getSourceLineInfo( s_info );
78 log.println("Line.Info array == 0");
/openjdk10/jdk/test/javax/sound/sampled/LineEvent/
H A DLineInfoNPE.java25 import javax.sound.sampled.Line;
52 Line testLine = new TestLine();
53 Line nullLine = null;
59 out.println("\n>> LineEvent constructor for Line = null: ");
62 new LineEvent(nullLine, // the source Line of this event
69 Line producedLine = testedLineEvent.getLine();
100 new LineEvent(testLine, // the source Line of this event
144 class TestLine implements Line {
160 public Line.Info getLineInfo() {
/openjdk10/jdk/test/javax/sound/sampled/Mixers/
H A DUnexpectedIAE.java25 import javax.sound.sampled.Line;
44 Line.Info [] target_line_infos = mixer.getTargetLineInfo();
H A DBogusMixers.java26 import javax.sound.sampled.Line;
45 Line.Info[] tlInfos = mixer.getTargetLineInfo();
H A DPhantomMixers.java26 import javax.sound.sampled.Line;
49 Line.Info[] srcLineInfo = mixer.getSourceLineInfo();
50 Line.Info[] dstLineInfo = mixer.getTargetLineInfo();
H A DDisabledAssertionCrash.java27 import javax.sound.sampled.Line;
50 Line.Info sourceDataLineInfo = new DataLine.Info(SourceDataLine.class,audioFormat);
56 Line.Info targetDataLineInfo =
H A DBothEndiansAndSigns.java27 import javax.sound.sampled.Line;
65 public static void checkLines(Mixer mixer, Line.Info[] infos) {
70 System.out.println(" Line "+info+" (max. "+mixer.getMaxLines(info)+" simultaneously): ");
/openjdk10/jdk/test/javax/sound/sampled/Lines/FrameSize/
H A DFrameSizeTest.java27 import javax.sound.sampled.Line;
43 Line.Info[] lineinfo = mixer.getSourceLineInfo();
/openjdk10/jdk/test/javax/sound/sampled/Lines/16and32KHz/
H A DHas16and32KHz.java28 import javax.sound.sampled.Line;
43 public static void showMixerLines(Line.Info[] lineinfo) {
46 Line.Info thisInfo=lineinfo[j];
/openjdk10/jdk/test/javax/sound/sampled/Clip/
H A DIsRunningHang.java32 import javax.sound.sampled.Line;
96 final Line.Info info = new DataLine.Info(Clip.class, format);
/openjdk10/jdk/test/javax/sound/sampled/AudioSystem/
H A DDefaultMixers.java30 import javax.sound.sampled.Line;
94 if (mixer.isLineSupported(new Line.Info(lineClasses[j]))) {
137 Line line = null;
138 Line.Info info = null;
139 Line.Info[] infos;
161 out("Line.Info: " + info);
176 private static AudioFormat getFirstLinearFormat(Line.Info[] infos) {
/openjdk10/jdk/test/javax/sound/sampled/DataLine/
H A DDataLine_ArrayIndexOutOfBounds.java33 import javax.sound.sampled.Line;
168 Line.Info linfo = new Line.Info(SourceDataLine.class);
208 Line.Info linfo = new Line.Info(TargetDataLine.class);
/openjdk10/langtools/test/tools/javadoc/lib/
H A DOldToolTester.java292 List<Line> labels = new ArrayList<Line>();
298 labels.add(0, new Line(off, s));
304 Line label = labels.remove(0);
333 static class Line { class in class:OldToolTester
336 Line(int off, Object o) { this.off = off; this.o = o; } method in class:OldToolTester.Line

Completed in 125 milliseconds

12