Package oshi.hardware.platform.mac
Class MacSoundCard
java.lang.Object
oshi.hardware.common.AbstractSoundCard
oshi.hardware.platform.mac.MacSoundCard
- All Implemented Interfaces:
SoundCard
public class MacSoundCard extends AbstractSoundCard
Sound card data obtained via system_profiler
-
Constructor Summary
Constructors Constructor Description MacSoundCard(java.lang.String kernelVersion, java.lang.String name, java.lang.String codec)Constructor for MacSoundCard. -
Method Summary
Modifier and Type Method Description static java.util.List<MacSoundCard>getSoundCards()public method used byAbstractHardwareAbstractionLayerto access the sound cards.Methods inherited from class oshi.hardware.common.AbstractSoundCard
getCodec, getDriverVersion, getName, setCodec, setKernelVersion, setName, toString
-
Constructor Details
-
MacSoundCard
public MacSoundCard(java.lang.String kernelVersion, java.lang.String name, java.lang.String codec)Constructor for MacSoundCard.
- Parameters:
kernelVersion- aStringobject.name- aStringobject.codec- aStringobject.
-
-
Method Details
-
getSoundCards
public method used byAbstractHardwareAbstractionLayerto access the sound cards.- Returns:
- List of
MacSoundCardobjects.
-