Loopback
JavaScript is disabled on your browser.
br.usp.ime.dspbenchmarking.algorithms
Class Loopback
- java.lang.Object
-
- br.usp.ime.dspbenchmarking.algorithms.DspAlgorithm
-
- br.usp.ime.dspbenchmarking.algorithms.Loopback
-
public class Loopback extends DspAlgorithm
A simple loopback algorithm, that actually does nothing. It is meant to be used as a reference of the minimal time the DSP infrastructure takes.
-
-
Field Summary
-
Fields inherited from class br.usp.ime.dspbenchmarking.algorithms.DspAlgorithm
blockSize, parameter1, sampleRate
-
-
Constructor Summary
Constructors Constructor and Description Loopback(int sRate, int bSize)
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
getAlgorithmName()
void
perform(double[] buffer)
This method should be implemented by all DSP algorithms.-
Methods inherited from class br.usp.ime.dspbenchmarking.algorithms.DspAlgorithm
getBlockSize, getParameter1, getSampleRate, setBlockSize, setParams
-
-
-
-
Method Detail
-
perform
public void perform(double[] buffer)
Description copied from class:DspAlgorithm
This method should be implemented by all DSP algorithms. It is the actual perform function that works over a buffer to modify the audio signal.- Specified by:
perform
in classDspAlgorithm
-
getAlgorithmName
public java.lang.String getAlgorithmName()
- Specified by:
getAlgorithmName
in classDspAlgorithm
- Returns:
- The name of the algorithm.
-
-