Home » openjdk-7 » javax.sound » sampled » spi » [javadoc | source]
javax.sound.sampled.spi
abstract public class: MixerProvider [javadoc | source]
java.lang.Object
   javax.sound.sampled.spi.MixerProvider
A provider or factory for a particular mixer type. This mechanism allows the implementation to determine how resources are managed in creation / management of a mixer.
Method from javax.sound.sampled.spi.MixerProvider Summary:
getMixer,   getMixerInfo,   isMixerSupported
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.sound.sampled.spi.MixerProvider Detail:
 abstract public Mixer getMixer(Info info)
    Obtains an instance of the mixer represented by the info object.

    The full set of the mixer info objects that represent the mixers supported by this {@code MixerProvider} may be obtained through the {@code getMixerInfo} method. Use the {@code isMixerSupported} method to test whether this {@code MixerProvider} supports a particular mixer.

 abstract public Info[] getMixerInfo()
    Obtains the set of info objects representing the mixer or mixers provided by this MixerProvider.

    The {@code isMixerSupported} method returns {@code true} for all the info objects returned by this method. The corresponding mixer instances for the info objects are returned by the {@code getMixer} method.

 public boolean isMixerSupported(Info info) 
    Indicates whether the mixer provider supports the mixer represented by the specified mixer info object.

    The full set of mixer info objects that represent the mixers supported by this {@code MixerProvider} may be obtained through the {@code getMixerInfo} method.