| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static long | |
| pack-priv static int | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static float | |
| pack-priv static long | |
| pack-priv static void | |
| public static AudioInputStream | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static boolean | |
| pack-priv static float | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static void | validateBuffer(final int frameSize, final int bufferSize)
Throws an exception if the buffer size does not represent an integral number of sample frames. |
| Toolkit | back to summary |
|---|---|
| private Toolkit() Suppresses default constructor, ensuring non-instantiability. | |
| align | back to summary |
|---|---|
| pack-priv static long align(long bytes, int blockSize) | |
| align | back to summary |
|---|---|
| pack-priv static int align(int bytes, int blockSize) | |
| bytes2micros | back to summary |
|---|---|
| pack-priv static long bytes2micros(AudioFormat format, long bytes) | |
| bytes2millis | back to summary |
|---|---|
| pack-priv static long bytes2millis(AudioFormat format, long bytes) | |
| dBToLinear | back to summary |
|---|---|
| pack-priv static float dBToLinear(float dB) DB to linear scale conversion. | |
| frames2micros | back to summary |
|---|---|
| pack-priv static long frames2micros(AudioFormat format, long frames) | |
| getByteSwapped | back to summary |
|---|---|
| pack-priv static void getByteSwapped(byte[] b, int off, int len) Swaps bytes.
| |
| getPCMConvertedAudioInputStream | back to summary |
|---|---|
| public static AudioInputStream getPCMConvertedAudioInputStream(AudioInputStream ais) | |
| getUnsigned8 | back to summary |
|---|---|
| pack-priv static void getUnsigned8(byte[] b, int off, int len) Converts bytes from signed to unsigned. | |
| isFullySpecifiedAudioFormat | back to summary |
|---|---|
| pack-priv static void isFullySpecifiedAudioFormat(AudioFormat format) | |
| isFullySpecifiedPCMFormat | back to summary |
|---|---|
| pack-priv static boolean isFullySpecifiedPCMFormat(AudioFormat format) | |
| linearToDB | back to summary |
|---|---|
| pack-priv static float linearToDB(float linear) Linear to DB scale conversion. | |
| micros2bytes | back to summary |
|---|---|
| pack-priv static long micros2bytes(AudioFormat format, long micros) | |
| micros2frames | back to summary |
|---|---|
| pack-priv static long micros2frames(AudioFormat format, long micros) | |
| millis2bytes | back to summary |
|---|---|
| pack-priv static long millis2bytes(AudioFormat format, long millis) | |
| validateBuffer | back to summary |
|---|---|
| pack-priv static void validateBuffer(final int frameSize, final int bufferSize) Throws an exception if the buffer size does not represent an integral number of sample frames. | |