|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sdljava.mixer.MixerSpec
public class MixerSpec
Encapsulates the return information from the Mix_QuerySpec function call.
Field Summary | |
---|---|
(package private) int |
channels
A pointer to an int where the number of audio channels will be stored. |
(package private) int |
format
the output format actually being used by the audio device |
(package private) 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 |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
int frequency
int format
int channels
Constructor Detail |
---|
public MixerSpec(int frequency, int format, int channels)
MixerSpec
instance.
frequency
- an int
valueformat
- an int
valuechannels
- an int
valueMethod Detail |
---|
public int getFrequency()
public void setFrequency(int argFrequency)
argFrequency
- Value to assign to this.frequencypublic int getFormat()
public void setFormat(int argFormat)
argFormat
- Value to assign to this.formatpublic int getChannels()
public void setChannels(int argChannels)
argChannels
- Value to assign to this.channelspublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |