Example usage for Java javax.sound.sampled AudioFormat fields, constructors, methods, implement or subclass
The text is from its open source code.
HashMap | properties The set of properties. |
AudioFormat(Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian) Constructs an AudioFormat with the given parameters. | |
AudioFormat(float sampleRate, int sampleSizeInBits, int channels, boolean signed, boolean bigEndian) Constructs an AudioFormat with a linear PCM encoding and the given parameters. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
int | getChannels() Obtains the number of channels. |
Encoding | getEncoding() Obtains the type of encoding for sounds in this format. |
float | getFrameRate() Obtains the frame rate in frames per second. |
int | getFrameSize() Obtains the frame size in bytes. |
float | getSampleRate() Obtains the sample rate. |
int | getSampleSizeInBits() Obtains the size of a sample. |
boolean | isBigEndian() Indicates whether the audio data is stored in big-endian or little-endian byte order. |
boolean | matches(AudioFormat format) Indicates whether this format matches the one specified. |
String | toString() Returns a string that describes the format, such as: "PCM SIGNED 22050 Hz 16 bit mono big-endian". |