javax.sound.sampled
Interface Port

All Superinterfaces:
Line sample code for javax.sound.sampled.Line definition code for javax.sound.sampled.Line

public interface Port
extends Line sample code for javax.sound.sampled.Line definition code for javax.sound.sampled.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 sample code for javax.sound.sampled.Port.Info definition code for javax.sound.sampled.Port.Info object.

Since:
1.3

Nested Class Summary
static class Port.Info sample code for javax.sound.sampled.Port.Info definition code for javax.sound.sampled.Port.Info
          The Port.Info class extends Line.Info sample code for javax.sound.sampled.Line.Info definition code for javax.sound.sampled.Line.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 inherited from interface javax.sound.sampled.Line sample code for javax.sound.sampled.Line definition code for javax.sound.sampled.Line
addLineListener sample code for javax.sound.sampled.Line.addLineListener(javax.sound.sampled.LineListener) definition code for javax.sound.sampled.Line.addLineListener(javax.sound.sampled.LineListener) , close sample code for javax.sound.sampled.Line.close() definition code for javax.sound.sampled.Line.close() , getControl sample code for javax.sound.sampled.Line.getControl(javax.sound.sampled.Control.Type) definition code for javax.sound.sampled.Line.getControl(javax.sound.sampled.Control.Type) , getControls sample code for javax.sound.sampled.Line.getControls() definition code for javax.sound.sampled.Line.getControls() , getLineInfo sample code for javax.sound.sampled.Line.getLineInfo() definition code for javax.sound.sampled.Line.getLineInfo() , isControlSupported sample code for javax.sound.sampled.Line.isControlSupported(javax.sound.sampled.Control.Type) definition code for javax.sound.sampled.Line.isControlSupported(javax.sound.sampled.Control.Type) , isOpen sample code for javax.sound.sampled.Line.isOpen() definition code for javax.sound.sampled.Line.isOpen() , open sample code for javax.sound.sampled.Line.open() definition code for javax.sound.sampled.Line.open() , removeLineListener sample code for javax.sound.sampled.Line.removeLineListener(javax.sound.sampled.LineListener) definition code for javax.sound.sampled.Line.removeLineListener(javax.sound.sampled.LineListener)