- All Superinterfaces:
AutoCloseable
,Line
Ports are simple lines for input or output of audio to or from audio devices.
Common examples of ports that act as source lines (mixer inputs) include the
microphone, line input, and CD-ROM drive. Ports that act as target lines
(mixer outputs) include the speaker, headphone, and line output. You can
access port using a
Port.Info
object.- Since:
- 1.3
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
ThePort.Info
class extendsLine.Info
with additional information specific to ports, including the port's name and whether it is a source or a target for its mixer. -
Method Summary
Methods declared in interface javax.sound.sampled.Line
addLineListener, close, getControl, getControls, getLineInfo, isControlSupported, isOpen, open, removeLineListener