Searched refs:mSamplePool (Results 1 – 5 of 5) sorted by relevance
27 private final LinkedList<SampleHolder> mSamplePool = new LinkedList<>(); field in SamplePool34 if (mSamplePool.isEmpty()) { in acquireSample()40 SampleHolder maxSample = mSamplePool.getFirst(); in acquireSample()41 for (SampleHolder sample : mSamplePool) { in acquireSample()60 mSamplePool.remove(sampleFromPool); in acquireSample()69 mSamplePool.offerLast(sample); in releaseSample()
29 private final SamplePool mSamplePool; field in SampleQueue32 mSamplePool = samplePool; in SampleQueue()50 mSamplePool.releaseSample(sampleFromQueue); in dequeueSample()56 mSamplePool.releaseSample(mQueue.poll()); in clear()
37 private final SamplePool mSamplePool = new SamplePool(); field in SimpleSampleBuffer72 mPlayingSampleQueues[index] = new SampleQueue(mSamplePool); in selectTrack()126 SampleHolder sampleToQueue = mSamplePool.acquireSample(sample.size); in writeSample()
85 private final SamplePool mSamplePool = new SamplePool(); field in RecordingSampleBuffer194 mSampleCaches[i] = mCacheManager.createNewWriteFile(getTrackId(i), 0, mSamplePool); in init()198 mCacheManager.loadTrackFormStorage(mIds.get(i), mSamplePool); in init() local232 mPlayingSampleQueues[index] = new CachedSampleQueue(mSamplePool); in selectTrack()262 getTrackId(index), mCacheEndPositionUs[index], mSamplePool); in writeSample()
121 private final SamplePool mSamplePool; field in SampleCache.IoHandlerCallback134 mSamplePool = samplePool; in IoHandlerCallback()244 SampleHolder sample = mSamplePool.acquireSample(size); in handleRead()302 mSamplePool.releaseSample(sample); in handleClear()