sdljava.mixer
public class MixerSpec extends Object
Version: $Id: MixerSpec.java,v 1.2 2004/12/24 17:32:16 ivan_ganza Exp $
| Field Summary | |
|---|---|
| int | channels
A pointer to an int where the number of audio channels will be stored.
|
| int | format
the output format actually being used by the audio device
|
| int | frequency
the frequency actually used by the opened audio device
|
| Constructor Summary | |
|---|---|
| MixerSpec(int frequency, int format, int channels)
Creates a new MixerSpec instance.
| |
| Method Summary | |
|---|---|
| int | getChannels()
Gets the value of channels
|
| int | getFormat()
Gets the value of format
|
| int | getFrequency()
Gets the value of frequency
|
| void | setChannels(int argChannels)
Sets the value of channels
|
| void | setFormat(int argFormat)
Sets the value of format
|
| void | setFrequency(int argFrequency)
Sets the value of frequency
|
| String | toString() |
MixerSpec instance.
Parameters: frequency an int value format an int value channels an int value
Returns: the value of channels
Returns: the value of format
Returns: the value of frequency
Parameters: argChannels Value to assign to this.channels
Parameters: argFormat Value to assign to this.format
Parameters: argFrequency Value to assign to this.frequency