Searched refs:shortData (Results 1 – 6 of 6) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | WavAnalyzer.java | 31 short[] shortData = new short[byteData.length >> 1]; in WavAnalyzer() local 32 ByteBuffer.wrap(byteData).order(ByteOrder.LITTLE_ENDIAN).asShortBuffer().get(shortData); in WavAnalyzer() 33 this.data = Util.toDouble(shortData); in WavAnalyzer()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | MediaSyncEventTest.java | 168 short[] shortData = new short[BUFFER_SAMPLES]; in testSynchronizedRecord() local 174 int ret = record.read(shortData, 0, amount); in testSynchronizedRecord()
|
D | AudioTrackSurroundTest.java | 187 short[] shortData = loadRawResourceShorts(R.raw.sinesweepraw); in testLoadSineSweep() local 188 assertTrue(TEST_NAME + ": load sinesweepraw as shorts", shortData.length > 100); in testLoadSineSweep() 190 assertTrue(TEST_NAME + ": load sinesweepraw as bytes", byteData.length > shortData.length); in testLoadSineSweep()
|
D | AudioRecordTest.java | 231 short[] shortData = new short[BUFFER_SIZE]; in testAudioRecordOP() local 237 mAudioRecord.read(shortData, 0, BUFFER_SIZE); in testAudioRecordOP() 726 final short[] shortData = new short[BUFFER_SAMPLES]; in testTimestamp() local 734 final int ret = record.read(shortData, 0, amount); in testTimestamp() 1183 final short[] shortData = new short[BUFFER_SAMPLES]; in doTest() local 1215 return blockForData ? record.read(shortData, 0, samples) : in doTest() 1216 record.read(shortData, 0, samples, in doTest()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | OutputManager.java | 426 short[] shortData = new short[refData.length]; in getRmsError() local 428 .get(shortData); in getRmsError() 429 for (int i = 0; i < shortData.length; i++) { in getRmsError() 430 float d = shortData[i] - refData[i]; in getRmsError()
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_callback.cpp | 383 int16_t *shortData = (int16_t *) audioData; in MyDataCallbackProc() local 384 for (int i = 0; i < numSamples; i++) *shortData++ = 0; in MyDataCallbackProc()
|