Home
last modified time | relevance | path

Searched refs:shortData (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DWavAnalyzer.java29 short[] shortData = new short[byteData.length >> 1]; in WavAnalyzer() local
30 ByteBuffer.wrap(byteData).order(ByteOrder.LITTLE_ENDIAN).asShortBuffer().get(shortData); in WavAnalyzer()
31 this.data = Util.toDouble(shortData); in WavAnalyzer()
/cts/tests/tests/media/src/android/media/cts/
DAudioRecordTest.java181 short[] shortData = new short[BUFFER_SIZE]; in testAudioRecordOP() local
187 mAudioRecord.read(shortData, 0, BUFFER_SIZE); in testAudioRecordOP()
517 short[] shortData = new short[BUFFER_SAMPLES]; in testTimestamp() local
521 int ret = record.read(shortData, 0, amount); in testTimestamp()
659 short[] shortData = new short[BUFFER_SAMPLES]; in testSynchronizedRecord() local
665 int ret = record.read(shortData, 0, amount); in testSynchronizedRecord()
916 short[] shortData = new short[BUFFER_SAMPLES]; in doTest() local
922 int ret = blocking ? record.read(shortData, 0, amount) : in doTest()
923 record.read(shortData, 0, amount, AudioRecord.READ_NON_BLOCKING); in doTest()
DAudioTrackSurroundTest.java190 short[] shortData = loadRawResourceShorts(R.raw.sinesweepraw); in testLoadSineSweep() local
191 assertTrue(TEST_NAME + ": load sinesweepraw as shorts", shortData.length > 100); in testLoadSineSweep()
193 assertTrue(TEST_NAME + ": load sinesweepraw as bytes", byteData.length > shortData.length); in testLoadSineSweep()
/cts/tests/tests/nativemedia/aaudio/src/
Dtest_aaudio_callback.cpp230 int16_t *shortData = (int16_t *) audioData; in MyDataCallbackProc() local
231 for (int i = 0; i < numSamples; i++) *shortData++ = 0; in MyDataCallbackProc()