Package oshi.hardware.platform.linux
Class LinuxSoundCard
java.lang.Object
oshi.hardware.common.AbstractSoundCard
oshi.hardware.platform.linux.LinuxSoundCard
- All Implemented Interfaces:
SoundCard
public class LinuxSoundCard extends AbstractSoundCard
Sound card data obtained via /proc/asound directory
-
Constructor Summary
Constructors Constructor Description LinuxSoundCard(java.lang.String kernelVersion, java.lang.String name, java.lang.String codec)Constructor for LinuxSoundCard. -
Method Summary
Modifier and Type Method Description static java.util.List<LinuxSoundCard>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
-
LinuxSoundCard
public LinuxSoundCard(java.lang.String kernelVersion, java.lang.String name, java.lang.String codec)Constructor for LinuxSoundCard.
- Parameters:
kernelVersion- aStringobject.name- aStringobject.codec- aStringobject.
-
-
Method Details
-
getSoundCards
public method used byAbstractHardwareAbstractionLayerto access the sound cards.- Returns:
- List of
LinuxSoundCardobjects.
-