Searched refs:srcFd (Results 1 – 2 of 2) sorted by relevance
266 AssetFileDescriptor srcFd = mResources.openRawResourceFd(srcMedia); in cloneMediaUsingMuxer() local268 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(), in cloneMediaUsingMuxer()269 srcFd.getLength()); in cloneMediaUsingMuxer()354 srcFd.close(); in cloneMediaUsingMuxer()
587 AssetFileDescriptor srcFd = context.getResources().openRawResourceFd(mSourceResId); in createExtractor() local589 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(), in createExtractor()590 srcFd.getLength()); in createExtractor()