org.virtualbox_7_0
Enum AudioCodecType

java.lang.Object
  extended by java.lang.Enum<AudioCodecType>
      extended by org.virtualbox_7_0.AudioCodecType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AudioCodecType>

public enum AudioCodecType
extends java.lang.Enum<AudioCodecType>

The exact variant of audio codec hardware presented to the guest; seeIAudioAdapter.getAudioCodec(). Interface ID: {7B406301-F520-420C-9805-8CE11C086370}


Enum Constant Summary
AD1980
          An AD1980 AC'97 codec.
Null
          null value.
SB16
          SB16; this is the only option for the SB16 device.
STAC9221
          A STAC9221 HDA codec.
STAC9700
          A STAC9700 AC'97 codec.
 
Method Summary
static AudioCodecType fromValue(long v)
           
static AudioCodecType fromValue(java.lang.String v)
           
 int value()
           
static AudioCodecType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AudioCodecType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Null

public static final AudioCodecType Null
null value. Never used by the API.


SB16

public static final AudioCodecType SB16
SB16; this is the only option for the SB16 device.


STAC9700

public static final AudioCodecType STAC9700
A STAC9700 AC'97 codec.


AD1980

public static final AudioCodecType AD1980
An AD1980 AC'97 codec. Recommended for Linux guests.


STAC9221

public static final AudioCodecType STAC9221
A STAC9221 HDA codec.

Method Detail

values

public static AudioCodecType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AudioCodecType c : AudioCodecType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AudioCodecType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static AudioCodecType fromValue(long v)

fromValue

public static AudioCodecType fromValue(java.lang.String v)