Java 类com.google.android.exoplayer2.source.SingleSampleMediaSource.EventListener 实例源码

项目:Exoplayer2Radio    文件:SingleSampleMediaPeriod.java   
public SingleSampleMediaPeriod(Uri uri, DataSource.Factory dataSourceFactory, Format format,
    int minLoadableRetryCount, Handler eventHandler, EventListener eventListener,
    int eventSourceId) {
  this.uri = uri;
  this.dataSourceFactory = dataSourceFactory;
  this.format = format;
  this.minLoadableRetryCount = minLoadableRetryCount;
  this.eventHandler = eventHandler;
  this.eventListener = eventListener;
  this.eventSourceId = eventSourceId;
  tracks = new TrackGroupArray(new TrackGroup(format));
  sampleStreams = new ArrayList<>();
  loader = new Loader("Loader:SingleSampleMediaPeriod");
}
项目:K-Sonic    文件:SingleSampleMediaPeriod.java   
public SingleSampleMediaPeriod(Uri uri, DataSource.Factory dataSourceFactory, Format format,
    int minLoadableRetryCount, Handler eventHandler, EventListener eventListener,
    int eventSourceId) {
  this.uri = uri;
  this.dataSourceFactory = dataSourceFactory;
  this.format = format;
  this.minLoadableRetryCount = minLoadableRetryCount;
  this.eventHandler = eventHandler;
  this.eventListener = eventListener;
  this.eventSourceId = eventSourceId;
  tracks = new TrackGroupArray(new TrackGroup(format));
  sampleStreams = new ArrayList<>();
  loader = new Loader("Loader:SingleSampleMediaPeriod");
}
项目:videoPickPlayer    文件:SingleSampleMediaPeriod.java   
public SingleSampleMediaPeriod(Uri uri, DataSource.Factory dataSourceFactory, Format format,
    int minLoadableRetryCount, Handler eventHandler, EventListener eventListener,
    int eventSourceId) {
  this.uri = uri;
  this.dataSourceFactory = dataSourceFactory;
  this.format = format;
  this.minLoadableRetryCount = minLoadableRetryCount;
  this.eventHandler = eventHandler;
  this.eventListener = eventListener;
  this.eventSourceId = eventSourceId;
  tracks = new TrackGroupArray(new TrackGroup(format));
  sampleStreams = new ArrayList<>();
  loader = new Loader("Loader:SingleSampleMediaPeriod");
}