本文整理汇总了Java中com.google.android.exoplayer2.extractor.ExtractorOutput.endTracks方法的典型用法代码示例。如果您正苦于以下问题:Java ExtractorOutput.endTracks方法的具体用法?Java ExtractorOutput.endTracks怎么用?Java ExtractorOutput.endTracks使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.google.android.exoplayer2.extractor.ExtractorOutput
的用法示例。
在下文中一共展示了ExtractorOutput.endTracks方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: init
import com.google.android.exoplayer2.extractor.ExtractorOutput; //导入方法依赖的package包/类
@Override
public void init(ExtractorOutput output) {
reader = new AdtsReader(true);
reader.createTracks(output, new TrackIdGenerator(0, 1));
output.endTracks();
output.seekMap(new SeekMap.Unseekable(C.TIME_UNSET));
}
示例2: init
import com.google.android.exoplayer2.extractor.ExtractorOutput; //导入方法依赖的package包/类
@Override
public void init(ExtractorOutput output) {
reader = new Ac3Reader(); // TODO: Add support for embedded ID3.
reader.createTracks(output, new TrackIdGenerator(0, 1));
output.endTracks();
output.seekMap(new SeekMap.Unseekable(C.TIME_UNSET));
}
示例3: init
import com.google.android.exoplayer2.extractor.ExtractorOutput; //导入方法依赖的package包/类
@Override
public void init(ExtractorOutput output) {
extractorOutput = output;
trackOutput = output.track(0, C.TRACK_TYPE_AUDIO);
wavHeader = null;
output.endTracks();
}
示例4: init
import com.google.android.exoplayer2.extractor.ExtractorOutput; //导入方法依赖的package包/类
@Override
public void init(ExtractorOutput output) {
TrackOutput trackOutput = output.track(0, C.TRACK_TYPE_AUDIO);
output.endTracks();
// TODO: fix the case if sniff() isn't called
streamReader.init(output, trackOutput);
}
示例5: init
import com.google.android.exoplayer2.extractor.ExtractorOutput; //导入方法依赖的package包/类
@Override
public void init(ExtractorOutput output) {
output.seekMap(new SeekMap.Unseekable(C.TIME_UNSET));
trackOutput = output.track(0, C.TRACK_TYPE_TEXT);
output.endTracks();
trackOutput.format(format);
}
示例6: init
import com.google.android.exoplayer2.extractor.ExtractorOutput; //导入方法依赖的package包/类
@Override
public void init(ExtractorOutput output) {
reader = new AdtsReader(true);
reader.init(output, new TrackIdGenerator(0, 1));
output.endTracks();
output.seekMap(new SeekMap.Unseekable(C.TIME_UNSET));
}
示例7: init
import com.google.android.exoplayer2.extractor.ExtractorOutput; //导入方法依赖的package包/类
@Override
public void init(ExtractorOutput output) {
reader = new Ac3Reader(); // TODO: Add support for embedded ID3.
reader.init(output, new TrackIdGenerator(0, 1));
output.endTracks();
output.seekMap(new SeekMap.Unseekable(C.TIME_UNSET));
}
示例8: init
import com.google.android.exoplayer2.extractor.ExtractorOutput; //导入方法依赖的package包/类
@Override
public void init(ExtractorOutput output) {
extractorOutput = output;
trackOutput = output.track(0);
wavHeader = null;
output.endTracks();
}
示例9: init
import com.google.android.exoplayer2.extractor.ExtractorOutput; //导入方法依赖的package包/类
@Override
public void init(ExtractorOutput output) {
TrackOutput trackOutput = output.track(0);
output.endTracks();
// TODO: fix the case if sniff() isn't called
streamReader.init(output, trackOutput);
}
示例10: init
import com.google.android.exoplayer2.extractor.ExtractorOutput; //导入方法依赖的package包/类
@Override
public void init(ExtractorOutput output) {
reader.createTracks(output, new TrackIdGenerator(0, 1));
output.endTracks();
output.seekMap(new SeekMap.Unseekable(C.TIME_UNSET));
}