Class AudioOutput

java.lang.Object
uk.co.caprica.vlcj.factory.AudioOutput
All Implemented Interfaces:
Iterable<AudioDevice>

public class AudioOutput extends Object implements Iterable<AudioDevice>
Description of an audio output.

An audio output has zero or more associated audio devices. Each device has a unique identifier than can be used to select the required output device for a media player.

  • Constructor Details

    • AudioOutput

      public AudioOutput(String name, String description, List<AudioDevice> devices)
      Create an audio output.
      Parameters:
      name - name
      description - description
      devices - collection of audio devices for this output
  • Method Details

    • getName

      public String getName()
      Get the name.
      Returns:
      name
    • getDescription

      public String getDescription()
      Get the description.
      Returns:
      description
    • getDevices

      public List<AudioDevice> getDevices()
      Get the collection of audio devices for this output.
      Returns:
      audio devices
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • iterator

      public Iterator<AudioDevice> iterator()
      Specified by:
      iterator in interface Iterable<AudioDevice>