C# Class javazoom.jl.decoder.OutputChannels

A Type-safe representation of the the supported output channel constants. This class is immutable and, hence, is thread safe.
显示文件 Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
BOTH OutputChannels
BOTH_CHANNELS int
DOWNMIX OutputChannels
DOWNMIX_CHANNELS int
LEFT OutputChannels
LEFT_CHANNEL int
RIGHT OutputChannels
RIGHT_CHANNEL int

Public Methods

Method Description
Equals ( System o ) : bool
GetHashCode ( ) : int
fromInt ( int code ) : OutputChannels

Creates an OutputChannels instance corresponding to the given channel code.

Private Methods

Method Description
OutputChannels ( int channels ) : System

Method Details

Equals() public method

public Equals ( System o ) : bool
o System
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

fromInt() public static method

Creates an OutputChannels instance corresponding to the given channel code.
public static fromInt ( int code ) : OutputChannels
code int one of the OutputChannels channel code constants. /// /// @throws IllegalArgumentException if code is not a valid /// channel code. /// ///
return OutputChannels

Property Details

BOTH public_oe static_oe property

public static OutputChannels,javazoom.jl.decoder BOTH
return OutputChannels

BOTH_CHANNELS public_oe static_oe property

Flag to indicate output should include both channels.
public static int BOTH_CHANNELS
return int

DOWNMIX public_oe static_oe property

public static OutputChannels,javazoom.jl.decoder DOWNMIX
return OutputChannels

DOWNMIX_CHANNELS public_oe static_oe property

Flag to indicate output is mono.
public static int DOWNMIX_CHANNELS
return int

LEFT public_oe static_oe property

public static OutputChannels,javazoom.jl.decoder LEFT
return OutputChannels

LEFT_CHANNEL public_oe static_oe property

Flag to indicate output should include the left channel only.
public static int LEFT_CHANNEL
return int

RIGHT public_oe static_oe property

public static OutputChannels,javazoom.jl.decoder RIGHT
return OutputChannels

RIGHT_CHANNEL public_oe static_oe property

Flag to indicate output should include the right channel only.
public static int RIGHT_CHANNEL
return int