|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.sound.sampled.AudioFormat
com.groovemanager.spi.asio.ASIOAudioFormat
This class maps the ASIOSampleType values to a JavaSound AudioFormat
| Nested Class Summary | |
|---|---|
(package private) static class |
ASIOAudioFormat.Encoding
|
| Field Summary |
|---|
| Fields inherited from class javax.sound.sampled.AudioFormat |
|---|
bigEndian, channels, encoding, frameRate, frameSize, sampleRate, sampleSizeInBits |
| Constructor Summary | |
|---|---|
ASIOAudioFormat(float sampleRate,
int type,
int channels)
Constructs a new ASIOAudioFormat of the specified ASIOSampleType, with the given sampleRate and channels |
|
| Method Summary | |
|---|---|
private static javax.sound.sampled.AudioFormat.Encoding |
getEncoding(int type)
Get the Encoding out of the given ASIOSampleType |
private static boolean |
getEndianess(int type)
Get the endianess out of the given ASIOSampleType |
private static int |
getFrameSize(int type,
int channels)
Get the frame size out of the given ASIOSampleType |
private static int |
getSampleSizeInBits(int type)
Get the sample size out of the given ASIOSampleType |
| Methods inherited from class javax.sound.sampled.AudioFormat |
|---|
getChannels, getEncoding, getFrameRate, getFrameSize, getProperty, getSampleRate, getSampleSizeInBits, isBigEndian, matches, properties, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
ASIOAudioFormat(float sampleRate,
int type,
int channels)
sampleRate - The sampleRate of the formattype - The ASIOSampleType constantchannels - The number of channels| Method Detail |
|---|
private static javax.sound.sampled.AudioFormat.Encoding getEncoding(int type)
type - The ASIOSampleType constant
private static boolean getEndianess(int type)
type - The ASIOSampleType constant
private static int getFrameSize(int type,
int channels)
type - The ASIOSampleType constantchannels - The number of channels
private static int getSampleSizeInBits(int type)
type - The ASIOSampleType constant
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||