media/extensions/opus/src/main
olly d804446b34 Implement seeking via a single code path.
When a seek is performed, renderers currently perform the
actions that they need to take in two places: Some changes
are performed in seekTo implementations. Other changes are
performed when discontinuities are read from the source.

In HLS we need to perform what is effectively a seek
originating in the source. To support this, this CL allows
discontinuities read from the source to modify the playback
position. All actions that renderers perform as a result
of a seek are moved to be performed when a discontinuity is
received.

Best way to understand CL:
- Look at SampleSource interface change and then at the
  concrete implementations, to make sure they've been
  changed properly.
- Look at SampleSourceTrackRenderer change.
- Look at concrete renderers. The general pattern is that
  code previously performed in seekTo and READ_DISCONTINUITY
  is merged into onDiscontinuity().

Note: This will be further untangled in V2.

Issue #676
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=112720746
2016-01-22 12:11:16 +00:00
..
.settings webm branch cleanup 2015-05-22 21:50:29 +01:00
java/com/google/android/exoplayer/ext/opus Implement seeking via a single code path. 2016-01-22 12:11:16 +00:00
jni Move APP_PLATFORM to Application.mk 2015-12-07 19:55:17 +00:00
res Add Opus Native Extension 2015-02-02 14:43:50 -08:00
.classpath Add Opus Native Extension 2015-02-02 14:43:50 -08:00
.cproject Add Opus Native Extension 2015-02-02 14:43:50 -08:00
.project Add Opus Native Extension 2015-02-02 14:43:50 -08:00
AndroidManifest.xml Move to target API level 23 2015-10-26 15:02:32 +00:00
project.properties Move to target API level 23 2015-10-26 15:02:32 +00:00