public interface DeviceFactory
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultDeviceName()
Gets the default device name
|
com.google.common.collect.ImmutableList<java.lang.String> |
getDeviceNames()
Gets all device names
|
java.lang.String |
getType()
Gets the device's factory type, should be unique
|
AudioDevice |
openDevice(@NotNull javax.sound.sampled.AudioFormat format,
@Nullable java.lang.String deviceName,
@NotNull Params params)
Opens a new device
|
AudioDevice openDevice(@NotNull @NotNull javax.sound.sampled.AudioFormat format, @Nullable @Nullable java.lang.String deviceName, @NotNull @NotNull Params params) throws DeviceException
deviceName - the device nameparams - device params, may be different depending on DeviceFactoryDeviceException - if device cannot be openjava.lang.String getDefaultDeviceName()
com.google.common.collect.ImmutableList<java.lang.String> getDeviceNames()
java.lang.String getType()