Searched refs:byteData (Results 1 – 3 of 3) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | WavAnalyzer.java | 25 public WavAnalyzer(byte[] byteData, int sampleRate, Listener listener) { in WavAnalyzer() argument 29 short[] shortData = new short[byteData.length >> 1]; in WavAnalyzer() 30 ByteBuffer.wrap(byteData).order(ByteOrder.LITTLE_ENDIAN).asShortBuffer().get(shortData); in WavAnalyzer()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioRecordTest.java | 200 byte[] byteData = new byte[BUFFER_SIZE]; in testAudioRecordOP() 206 mAudioRecord.read(byteData, 0, BUFFER_SIZE); in testAudioRecordOP() 259 mAudioRecord.read(byteData, 0, BUFFER_SIZE); in testAudioRecordOP() 1219 byte[] byteData = new byte[BUFFER_SAMPLES]; in doTest() 1225 int ret = blocking ? record.read(byteData, 0, amount) : in doTest() 1226 record.read(byteData, 0, amount, AudioRecord.READ_NON_BLOCKING); in doTest()
|
D | AudioTrackSurroundTest.java | 195 byte[] byteData = loadRawResourceBytes(R.raw.sinesweepraw); in testLoadSineSweep() 196 assertTrue(TEST_NAME + ": load sinesweepraw as bytes", byteData.length > shortData.length); in testLoadSineSweep()
|