## Uses of Class
javax.sound.sampled.Port.Info

- Packages that use Port.Info
  Package | Description
  --- | ---
  javax.sound.sampled | Provides interfaces and classes for capture, processing, and playback of sampled audio data.

- - ### Uses of Port.Info in javax.sound.sampled

    Fields in javax.sound.sampled declared as Port.Info
    Modifier and Type | Field | Description
    --- | --- | ---
    `static Port.Info` | Port.Info.`COMPACT_DISC` A type of port that gets audio from a CD-ROM drive.
    `static Port.Info` | Port.Info.`HEADPHONE` A type of port that sends audio to a headphone jack.
    `static Port.Info` | Port.Info.`LINE_IN` A type of port that gets audio from a line-level audio input jack.
    `static Port.Info` | Port.Info.`LINE_OUT` A type of port that sends audio to a line-level audio output jack.
    `static Port.Info` | Port.Info.`MICROPHONE` A type of port that gets audio from a built-in microphone or a microphone jack.
    `static Port.Info` | Port.Info.`SPEAKER` A type of port that sends audio to a built-in speaker or a speaker jack.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.