public abstract class AudioEffect16Bit
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ADD
An identifier for adding the forward memory locations to the next data received by an AudioEffect.
|
static int |
DO_NOTHING
An identifier for ignoring the forward memory locations when receiving future inputs.
|
static int |
MULTIPLY
An identifier for multiplying the forward memory locations to the next data received by an AudioEffect.
|
Constructor and Description |
---|
AudioEffect16Bit(int forwardMemSize)
Creates an audio effect with a particular forward memory size.
|
Modifier and Type | Method and Description |
---|---|
short[] |
getData()
Gets data array
|
int |
getStart()
Gets the starting position of the current memory chunk with the previous and forward memory prepended and
appended to it
|
void |
initialiseForward(short val) |
void |
initialiseForward(short[] vals)
Initializes the forward values to the values specified.
|
void |
preProcess(short[] data)
This function inserts the given data into an array which comprises of the given data and the forward data
respectively.
|
void |
setForwardMathOperation(int mode)
An function setting the behaviour of how AudioEffect applies the forward memory locations to the next data
received by an AudioEffect.
|
public static final int ADD
public static final int MULTIPLY
public static final int DO_NOTHING
public AudioEffect16Bit(int forwardMemSize)
public void initialiseForward(short val)
public void initialiseForward(short[] vals) throws IncompatibleSizeException
IncompatibleSizeException
public void setForwardMathOperation(int mode)
public int getStart()
public short[] getData()
public void preProcess(short[] data)