Lines Matching defs:line

29  * The <code>LineEvent</code> class encapsulates information that a line
30 * sends its listeners whenever the line opens, closes, starts, or stops.
34 * the listener can learn the type of event, the line responsible for
35 * the event, and how much data the line had processed when the event occurred.
53 * The kind of line event (<code>OPEN</code>, <code>CLOSE</code>,
74 * Constructs a new event of the specified type, originating from the specified line.
75 * @param line the source of this event
77 * @param position the number of sample frames that the line had already processed when the event occurred,
80 * @throws IllegalArgumentException if <code>line</code> is
83 public LineEvent(Line line, Type type, long position) {
85 super(line);
91 * Obtains the audio line that is the source of this event.
92 * @return the line responsible for this event
111 * Obtains the position in the line's audio data when the event occurred, expressed in sample frames.
112 * For example, if a source line had already played back 14 sample frames at the time it was
113 * paused, the pause event would report the line's position as 14. The next frame to be processed
122 * @return the line's position as a sample frame number
147 return new String(sType + "event from line " + sLine);
152 * The LineEvent.Type inner class identifies what kind of event occurred on a line.
207 * A type of event that is sent when a line opens, reserving system
216 * A type of event that is sent when a line closes, freeing the system
225 * A type of event that is sent when a line begins to engage in active
235 * A type of event that is sent when a line ceases active input or output
245 * A type of event that is sent when a line ceases to engage in active
259 * A type of event that is sent when a line begins to engage in active
261 * when a source line begins or resumes writing data to its mixer, and
262 * when a target line begins or resumes reading data from its mixer.
272 * A type of event that is sent when a line ceases active input or output