EngineParameterspublic 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 int | getAudioStreamType()
return mAudioStreamType;
| public int | getDecodeBufferInitialSize()
return mDecodeBufferInitialSize;
| public int | getDecodeBufferMaxSize()
return mDecodeBufferMaxSize;
| public float | getInitialRate()
return mInitialRate;
| public int | getMaxPlayBufferCount()
return mMaxPlayBufferCount;
| public int | getStartPositionMillis()
return mStartPositionMillis;
| public int | getTargetFrames()
return mTargetFrames;
| public float | getWindowDuration()
return mWindowDuration;
| public float | getWindowOverlapDuration()
return mWindowOverlapDuration;
|
|