javax.sound.sampled
Class Mixer.Info

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.sound.sampled.Mixer.Info
Enclosing interface:
Mixer sample code for javax.sound.sampled.Mixer definition code for javax.sound.sampled.Mixer

public static class Mixer.Info
extends Object sample code for java.lang.Object definition code for java.lang.Object

The Mixer.Info class represents information about an audio mixer, including the product's name, version, and vendor, along with a textual description. This information may be retrieved through the getMixerInfo sample code for javax.sound.sampled.Mixer.getMixerInfo() definition code for javax.sound.sampled.Mixer.getMixerInfo() method of the Mixer interface.

Since:
1.3

Constructor Summary
protected Mixer.Info sample code for javax.sound.sampled.Mixer.Info.Mixer.Info(java.lang.String, java.lang.String, java.lang.String, java.lang.String) definition code for javax.sound.sampled.Mixer.Info.Mixer.Info(java.lang.String, java.lang.String, java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  name, String sample code for java.lang.String definition code for java.lang.String  vendor, String sample code for java.lang.String definition code for java.lang.String  description, String sample code for java.lang.String definition code for java.lang.String  version)
          Constructs a mixer's info object, passing it the given textual information.
 
Method Summary
 boolean equals sample code for javax.sound.sampled.Mixer.Info.equals(java.lang.Object) definition code for javax.sound.sampled.Mixer.Info.equals(java.lang.Object) (Object sample code for java.lang.Object definition code for java.lang.Object  obj)
          Indicates whether two info objects are equal, returning true if they are identical.
 String sample code for java.lang.String definition code for java.lang.String getDescription sample code for javax.sound.sampled.Mixer.Info.getDescription() definition code for javax.sound.sampled.Mixer.Info.getDescription() ()
          Obtains the description of the mixer.
 String sample code for java.lang.String definition code for java.lang.String getName sample code for javax.sound.sampled.Mixer.Info.getName() definition code for javax.sound.sampled.Mixer.Info.getName() ()
          Obtains the name of the mixer.
 String sample code for java.lang.String definition code for java.lang.String getVendor sample code for javax.sound.sampled.Mixer.Info.getVendor() definition code for javax.sound.sampled.Mixer.Info.getVendor() ()
          Obtains the vendor of the mixer.
 String sample code for java.lang.String definition code for java.lang.String getVersion sample code for javax.sound.sampled.Mixer.Info.getVersion() definition code for javax.sound.sampled.Mixer.Info.getVersion() ()
          Obtains the version of the mixer.
 int hashCode sample code for javax.sound.sampled.Mixer.Info.hashCode() definition code for javax.sound.sampled.Mixer.Info.hashCode() ()
          Finalizes the hashcode method.
 String sample code for java.lang.String definition code for java.lang.String toString sample code for javax.sound.sampled.Mixer.Info.toString() definition code for javax.sound.sampled.Mixer.Info.toString() ()
          Provides a string representation of the mixer info.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

Mixer.Info sample code for javax.sound.sampled.Mixer.Info(java.lang.String, java.lang.String, java.lang.String, java.lang.String) definition code for javax.sound.sampled.Mixer.Info(java.lang.String, java.lang.String, java.lang.String, java.lang.String)

protected Mixer.Info(String sample code for java.lang.String definition code for java.lang.String  name,
                     String sample code for java.lang.String definition code for java.lang.String  vendor,
                     String sample code for java.lang.String definition code for java.lang.String  description,
                     String sample code for java.lang.String definition code for java.lang.String  version)
Constructs a mixer's info object, passing it the given textual information.

Parameters:
name - the name of the mixer
vendor - the company who manufactures or creates the hardware or software mixer
description - descriptive text about the mixer
version - version information for the mixer
Method Detail

equals sample code for javax.sound.sampled.Mixer.Info.equals(java.lang.Object) definition code for javax.sound.sampled.Mixer.Info.equals(java.lang.Object)

public final boolean equals(Object sample code for java.lang.Object definition code for java.lang.Object  obj)
Indicates whether two info objects are equal, returning true if they are identical.

Overrides:
equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) in class Object sample code for java.lang.Object definition code for java.lang.Object
Parameters:
obj - the reference object with which to compare this info object
Returns:
true if this info object is the same as the obj argument; false otherwise
See Also:
Object.hashCode() sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , Hashtable sample code for java.util.Hashtable definition code for java.util.Hashtable

hashCode sample code for javax.sound.sampled.Mixer.Info.hashCode() definition code for javax.sound.sampled.Mixer.Info.hashCode()

public final int hashCode()
Finalizes the hashcode method.

Overrides:
hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() in class Object sample code for java.lang.Object definition code for java.lang.Object
Returns:
the hashcode for this object
See Also:
Object.equals(java.lang.Object) sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , Hashtable sample code for java.util.Hashtable definition code for java.util.Hashtable

getName sample code for javax.sound.sampled.Mixer.Info.getName() definition code for javax.sound.sampled.Mixer.Info.getName()

public final String sample code for java.lang.String definition code for java.lang.String  getName()
Obtains the name of the mixer.

Returns:
a string that names the mixer

getVendor sample code for javax.sound.sampled.Mixer.Info.getVendor() definition code for javax.sound.sampled.Mixer.Info.getVendor()

public final String sample code for java.lang.String definition code for java.lang.String  getVendor()
Obtains the vendor of the mixer.

Returns:
a string that names the mixer's vendor

getDescription sample code for javax.sound.sampled.Mixer.Info.getDescription() definition code for javax.sound.sampled.Mixer.Info.getDescription()

public final String sample code for java.lang.String definition code for java.lang.String  getDescription()
Obtains the description of the mixer.

Returns:
a textual description of the mixer

getVersion sample code for javax.sound.sampled.Mixer.Info.getVersion() definition code for javax.sound.sampled.Mixer.Info.getVersion()

public final String sample code for java.lang.String definition code for java.lang.String  getVersion()
Obtains the version of the mixer.

Returns:
textual version information for the mixer

toString sample code for javax.sound.sampled.Mixer.Info.toString() definition code for javax.sound.sampled.Mixer.Info.toString()

public final String sample code for java.lang.String definition code for java.lang.String  toString()
Provides a string representation of the mixer info.

Overrides:
toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() in class Object sample code for java.lang.Object definition code for java.lang.Object
Returns:
a string describing the info object