Uses of Interface
javax.sound.sampled.Line
Packages that use Line
Package
Description
Provides interfaces and classes for capture, processing, and playback of
sampled audio data.
-
Uses of Line in javax.sound.sampled
Subinterfaces of Line in javax.sound.sampledModifier and TypeInterfaceDescriptioninterfaceTheClipinterface represents a special kind of data line whose audio data can be loaded prior to playback, instead of being streamed in real time.interfaceDataLineadds media-related functionality to its superinterface,Line.interfaceA mixer is an audio device with one or more lines.interfacePorts are simple lines for input or output of audio to or from audio devices.interfaceA source data line is a data line to which data may be written.interfaceA target data line is a type ofDataLinefrom which audio data can be read.Methods in javax.sound.sampled that return LineModifier and TypeMethodDescriptionstatic LineObtains a line that matches the description in the specifiedLine.Infoobject.final LineLineEvent.getLine()Obtains the audio line that is the source of this event.Obtains a line that is available for use and that matches the description in the specifiedLine.Infoobject.Line[]Mixer.getSourceLines()Obtains the set of all source lines currently open to this mixer.Line[]Mixer.getTargetLines()Obtains the set of all target lines currently open from this mixer.Methods in javax.sound.sampled with parameters of type LineModifier and TypeMethodDescriptionbooleanMixer.isSynchronizationSupported(Line[] lines, boolean maintainSync) Reports whether this mixer supports synchronization of the specified set of lines.voidMixer.synchronize(Line[] lines, boolean maintainSync) Synchronizes two or more lines.voidMixer.unsynchronize(Line[] lines) Releases synchronization for the specified lines.Constructors in javax.sound.sampled with parameters of type LineModifierConstructorDescriptionLineEvent(Line line, LineEvent.Type type, long position) Constructs a new event of the specified type, originating from the specified line.