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/
DCodecState.java344 ByteBuffer audioBuffer = ByteBuffer.allocate(buffer.remaining()); in drainOutputBuffer() local
345 audioBuffer.put(buffer); in drainOutputBuffer()
346 audioBuffer.clear(); in drainOutputBuffer()
348 mAudioTrack.write(audioBuffer, info.size, info.presentationTimeUs*1000); in drainOutputBuffer()
DAudioHelper.java351 public int read(ByteBuffer audioBuffer, int sizeInBytes) { in read() argument
352 int bytes = super.read(audioBuffer, sizeInBytes); in read()
357 ByteBuffer copy = audioBuffer.duplicate(); in read()
368 public int read(ByteBuffer audioBuffer, int sizeInBytes, int readMode) { in read() argument
369 int bytes = super.read(audioBuffer, sizeInBytes, readMode); in read()
374 ByteBuffer copy = audioBuffer.duplicate(); in read()
DMediaSyncTest.java810 AudioBuffer audioBuffer = mAudioBuffers.get(0); in checkReturnedAudioBuffer() local
811 if (audioBuffer.mByteBuffer != byteBuffer in checkReturnedAudioBuffer()
812 || audioBuffer.mBufferIndex != bufferIndex) { in checkReturnedAudioBuffer()