1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
/*
* Created on Nov 30, 2004
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
package kj.dsp;
/**
* @author Kris Fudalewski
*
* Classes must implement this interface in order to be registered with the
* KJDigitalSignalProcessingAudioDataConsumer class.
*
*/
public interface KJDigitalSignalProcessor {
/**
* Called by the KJDigitalSignalProcessingAudioDataConsumer.
*
* @param pLeftChannel Audio data for the left channel.
* @param pRightChannel Audio data for the right channel.
* @param pFrameRateRatioHint A float value representing the ratio of the current
* frame rate to the desired frame rate. It is used to
* keep DSP animation consistent if the frame rate drop
* below the desired frame rate.
*/
void process( float[] pLeftChannel, float[] pRightChannel, float pFrameRateRatioHint );
}
|