Lines Matching refs:sources
820 // temporarily disable packet sources to be swapped to prevent
873 // re-enable all packet sources
1200 sp<AnotherPacketSource> sources[kNumSources], uint32_t streamMask, bool newUri) {
1207 if ((sources[kVideoIndex] != NULL) // video fetcher; or ...
1208 || (!(streamMask & STREAMTYPE_VIDEO) && sources[kAudioIndex] != NULL)) {
1225 sp<AnotherPacketSource> sources[kNumSources];
1229 sources[i] = getPacketSourceForStreamIndex(i, newUri);
1241 sources[kAudioIndex],
1242 sources[kVideoIndex],
1243 sources[kSubtitleIndex],
1244 getMetadataSource(sources, streamMask, newUri),
1650 // If we're seeking, clear all packet sources before we report
1804 // * Resume fetchers that are still needed and assign them original packet sources.
1837 sp<AnotherPacketSource> sources[kNumSources];
1847 sources[j] = mPacketSources.valueFor(indexToType(j));
1856 meta = sources[j]->getLatestDequeuedMeta();
1859 meta = sources[j]->getLatestEnqueuedMeta();
1862 meta = sources[j]->getMetaAfterLastDequeued(mUpSwitchMargin);
1876 sources[j]->clear();
1882 sources[j]->queueDiscontinuity(
1886 sources[j] = mPacketSources2.valueFor(indexToType(j));
1887 sources[j]->clear();
1917 sources[kAudioIndex],
1918 sources[kVideoIndex],
1919 sources[kSubtitleIndex],
1920 getMetadataSource(sources, mNewStreamMask, switching),