Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.media.sound
Class SoftAudioBuffer

    java.lang.Object
      com.sun.media.sound.SoftAudioBuffer

    public class SoftAudioBuffer

extends java.lang.Object

This class is used to store audio buffer.

Author:
  Karl Helgason

Constructor Summary
`SoftAudioBuffer(int size, javax.sound.sampled.AudioFormat format)`

Method Summary
`float[]` | `array()`
`void` | `clear()`
`void` | `get(byte[] buffer, int channel)`
`javax.sound.sampled.AudioFormat` | `getFormat()`
`int` | `getSize()`
`boolean` | `isSilent()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SoftAudioBuffer

    public SoftAudioBuffer(int size,
                           javax.sound.sampled.AudioFormat format)

Method Detail

### getFormat

    public javax.sound.sampled.AudioFormat getFormat()

### getSize

    public int getSize()

### clear

    public void clear()

### isSilent

    public boolean isSilent()

### array

    public float[] array()

### get

    public void get(byte[] buffer,
                    int channel)

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD