|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vwp.sound.mod.sound.output.SoundDataFormat
public class SoundDataFormat
A class representing the format of a stream of raw sound data. The sample rate, number of bits per sample and the number of channels can be described.
| Constructor Summary | |
|---|---|
SoundDataFormat(int bits,
int rate,
int channels)
|
|
| Method Summary | |
|---|---|
int |
getBits()
|
int |
getChannels()
|
int |
getRate()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SoundDataFormat(int bits,
int rate,
int channels)
bits - the number of bits per sample, per channel (often 8 or 16)rate - the sample rate (often 44100, 22050 or 11025)channels - the number of channels (often 1, for mono, or 2, for stereo)| Method Detail |
|---|
public int getBits()
public int getRate()
public int getChannels()
public 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 | ||||||||