Searched refs:audioBuffer (Results 1 – 3 of 3) sorted by relevance
334 public int read(ByteBuffer audioBuffer, int sizeInBytes) { in read() argument335 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() argument352 int bytes = super.read(audioBuffer, sizeInBytes, readMode); in read()357 ByteBuffer copy = audioBuffer.duplicate(); in read()
331 ByteBuffer audioBuffer = ByteBuffer.allocate(buffer.remaining()); in drainOutputBuffer() local332 audioBuffer.put(buffer); in drainOutputBuffer()333 audioBuffer.clear(); in drainOutputBuffer()335 mAudioTrack.write(audioBuffer, info.size, info.presentationTimeUs*1000); in drainOutputBuffer()
745 AudioBuffer audioBuffer = mAudioBuffers.get(0); in checkReturnedAudioBuffer() local746 if (audioBuffer.mByteBuffer != byteBuffer in checkReturnedAudioBuffer()747 || audioBuffer.mBufferIndex != bufferIndex) { in checkReturnedAudioBuffer()