FileDocCategorySizeDatePackage
EngineParameters.javaAPI DocAndroid 5.1 API5233Thu Mar 12 22:22:48 GMT 2015com.android.ex.variablespeed

EngineParameters

public final class EngineParameters extends Object
Encapsulates the parameters required to configure the audio engine.

You should not need to use this class directly, it exists for the benefit of this package and the classes contained therein.

Fields Summary
private final int
mTargetFrames
private final int
mMaxPlayBufferCount
private final float
mWindowDuration
private final float
mWindowOverlapDuration
private final float
mInitialRate
private final int
mDecodeBufferInitialSize
private final int
mDecodeBufferMaxSize
private final int
mStartPositionMillis
private final int
mAudioStreamType
Constructors Summary
private EngineParameters(int targetFrames, int maxPlayBufferCount, float windowDuration, float windowOverlapDuration, float initialRate, int decodeBufferInitialSize, int decodeBufferMaxSize, int startPositionMillis, int audioStreamType)

        mTargetFrames = targetFrames;
        mMaxPlayBufferCount = maxPlayBufferCount;
        mWindowDuration = windowDuration;
        mWindowOverlapDuration = windowOverlapDuration;
        mInitialRate = initialRate;
        mDecodeBufferInitialSize = decodeBufferInitialSize;
        mDecodeBufferMaxSize = decodeBufferMaxSize;
        mStartPositionMillis = startPositionMillis;
        mAudioStreamType = audioStreamType;
    
Methods Summary
public intgetAudioStreamType()

        return mAudioStreamType;
    
public intgetDecodeBufferInitialSize()

        return mDecodeBufferInitialSize;
    
public intgetDecodeBufferMaxSize()

        return mDecodeBufferMaxSize;
    
public floatgetInitialRate()

        return mInitialRate;
    
public intgetMaxPlayBufferCount()

        return mMaxPlayBufferCount;
    
public intgetStartPositionMillis()

        return mStartPositionMillis;
    
public intgetTargetFrames()

        return mTargetFrames;
    
public floatgetWindowDuration()

        return mWindowDuration;
    
public floatgetWindowOverlapDuration()

        return mWindowOverlapDuration;