Searched refs:audioBuffer (Results 1 – 3 of 3) sorted by relevance
344 ByteBuffer audioBuffer = ByteBuffer.allocate(buffer.remaining()); in drainOutputBuffer() local345 audioBuffer.put(buffer); in drainOutputBuffer()346 audioBuffer.clear(); in drainOutputBuffer()348 mAudioTrack.write(audioBuffer, info.size, info.presentationTimeUs*1000); in drainOutputBuffer()
351 public int read(ByteBuffer audioBuffer, int sizeInBytes) { in read() argument352 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() argument369 int bytes = super.read(audioBuffer, sizeInBytes, readMode); in read()374 ByteBuffer copy = audioBuffer.duplicate(); in read()
810 AudioBuffer audioBuffer = mAudioBuffers.get(0); in checkReturnedAudioBuffer() local811 if (audioBuffer.mByteBuffer != byteBuffer in checkReturnedAudioBuffer()812 || audioBuffer.mBufferIndex != bufferIndex) { in checkReturnedAudioBuffer()