sdl.audio
Class SDLAudioSpec
java.lang.Object
|
+--sdl.audio.SDLAudioSpec
- public class SDLAudioSpec
- extends java.lang.Object
Format of the SDL audio stream. All AudioPlay objects must be
converted into the format of the current audio stream so they may
be mixed and played.
Constructor Summary |
SDLAudioSpec(int handle)
|
SDLAudioSpec(int freq,
short format,
byte channels,
byte silence,
short samples,
int size)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SDLAudioSpec
public SDLAudioSpec(int handle)
SDLAudioSpec
public SDLAudioSpec(int freq,
short format,
byte channels,
byte silence,
short samples,
int size)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getHandle
public int getHandle()
save
public int save()
free
public void free()
getFormat
public short getFormat()
getChannels
public byte getChannels()
getFreq
public int getFreq()