Searched refs:byteData (Results 1 – 2 of 2) 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 | 161 byte[] byteData = new byte[BUFFER_SIZE]; in testAudioRecordOP() 167 mAudioRecord.read(byteData, 0, BUFFER_SIZE); in testAudioRecordOP() 220 mAudioRecord.read(byteData, 0, BUFFER_SIZE); in testAudioRecordOP() 774 byte[] byteData = new byte[BUFFER_SAMPLES]; in doTest() 780 int ret = blocking ? record.read(byteData, 0, amount) : in doTest() 781 record.read(byteData, 0, amount, AudioRecord.READ_NON_BLOCKING); in doTest()
|