Class MacSoundCard

java.lang.Object
oshi.hardware.common.AbstractSoundCard
oshi.hardware.common.platform.mac.MacSoundCard
All Implemented Interfaces:
SoundCard

@Immutable public final class MacSoundCard extends AbstractSoundCard
Sound card data obtained via AppleHDA kext
  • Constructor Details

    • MacSoundCard

      public MacSoundCard(String kernelVersion, String name, String codec)
      Constructor for MacSoundCard.
      Parameters:
      kernelVersion - The version
      name - The name
      codec - The codec
  • Method Details

    • getSoundCards

      public static List<SoundCard> getSoundCards()
      public method used by AbstractHardwareAbstractionLayer to access the sound cards.
      Returns:
      List of MacSoundCard objects.