Home
last modified time | relevance | path

Searched refs:mBlockSize (Results 1 – 3 of 3) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCorrelation.java24 private int mBlockSize = 4096; field in Correlation
26 private double [] mDataDownsampled = new double [mBlockSize];
27 private double [] mDataAutocorrelated = new double[mBlockSize];
36 mBlockSize = blockSize; in init()
51 double groupSize = (double) N / mBlockSize; //samples per downsample point. in computeCorrelation()
104 for (int i=0; i<mBlockSize; i++) { in downsampleData()
109 double groupSize = (double) N / mBlockSize; in downsampleData()
115 for (int i = 0; i<N && currentIndex<mBlockSize; i++) { in downsampleData()
122 if (currentIndex>=mBlockSize) { in downsampleData()
DAudioAEC.java81 public int mBlockSize; field in AudioAEC.RmsHelper
91 mBlockSize = blockSize; in RmsHelper()
97 mAudioShortArray = new short[mBlockSize]; in reset()
125 while (samplesAvailable >= mBlockSize) { in updateRms()
126 pipe.read(mAudioShortArray, 0, mBlockSize); in updateRms()
130 for (int i = channel; i < mBlockSize; i += channelCount) { in updateRms()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackSurroundTest.java324 private int mBlockSize = 512; field in AudioTrackSurroundTest.SamplePlayerBase
428 writeBlock(mBlockSize); in playAndMeasureRate()