Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java334 public int read(ByteBuffer audioBuffer, int sizeInBytes) { in read() argument
335 int bytes = super.read(audioBuffer, sizeInBytes); in read()
340 ByteBuffer copy = audioBuffer.duplicate(); in read()
351 public int read(ByteBuffer audioBuffer, int sizeInBytes, int readMode) { in read() argument
352 int bytes = super.read(audioBuffer, sizeInBytes, readMode); in read()
357 ByteBuffer copy = audioBuffer.duplicate(); in read()
DCodecState.java331 ByteBuffer audioBuffer = ByteBuffer.allocate(buffer.remaining()); in drainOutputBuffer() local
332 audioBuffer.put(buffer); in drainOutputBuffer()
333 audioBuffer.clear(); in drainOutputBuffer()
335 mAudioTrack.write(audioBuffer, info.size, info.presentationTimeUs*1000); in drainOutputBuffer()
DMediaSyncTest.java745 AudioBuffer audioBuffer = mAudioBuffers.get(0); in checkReturnedAudioBuffer() local
746 if (audioBuffer.mByteBuffer != byteBuffer in checkReturnedAudioBuffer()
747 || audioBuffer.mBufferIndex != bufferIndex) { in checkReturnedAudioBuffer()